Connecting from one docker container to another docker container

You can connect from one container to another by putting them onto the same network. I found that it was easiest to do that by creating a separate network

docker network create mynet

docker run --name foo --net mynet img

docker run --name bar --net mynet img


Opinions about People, Process and Technology

Optimization WordPress Plugins & Solutions by W3 EDGE