2 ms·
Ahh! I came here to say if you name your services then you can just use that name. Ex: Docker run -d … -rm —name=db Then connect to it using some client or so
by gigatexal 4y ago
Ahh! I came here to say if you name your services then you can just use that name.
Ex: Docker run -d … -rm —name=db
Then connect to it using some client or something else passing db as the hostname