Networking in Compose | Docker Documentation
https://docs.docker.com/compose/networkingSee the links reference for more information.. Multi-host networking. When deploying a Compose application on a Docker Engine with Swarm mode enabled, you can make use of the built-in overlay driver to enable multi-host communication.. Consult the Swarm mode section, to see how to set up a Swarm cluster, and the Getting started with multi-host networking to learn about …
docker-compose网络配置 - 简书
https://www.jianshu.com/p/347831f72d1c28.08.2019 · 启动的容器会被加入test_default中,其中 test为docker-compose的父文件夹名. [root@vm02 test]# docker network ls NETWORK ID NAME DRIVER SCOPE fba1a241ba5f bridge bridge local 662b6e28d109 docker_gwbridge bridge local e5180989ca67 host host local 91f9327572be none null local be43cf4b2125 test_default bridge local.