3 ms·
This seems a little out-dated because --link is now a legacy feature: https://docs.docker.com/network/links/ https://docs.docker.com/network/links/ Correct me
by kayson 6y ago
This seems a little out-dated because --link is now a legacy feature: https://docs.docker.com/network/links/ https://docs.docker.com/network/links/
Correct me if I'm wrong, but by default, containers can't communicate with each other even if ICC isn't disabled because the daemon gives them unique "default" networks. Only if you specify the same network for different containers can they communicate...
Edit: this behavior is specific to docker-compose. If you do docker run without specifying a network, it does use the docker0 bridge.