The Docker bridge supports port mappings and docker run -link allowing communications between containers on the docker0 network. You must connect containers with the -link option in your docker run command. Docker does not support automatic service discovery on bridge. If you have containers running on your network, docker network inspect displays networking information for your containers.Īny containers on the same network may communicate with one another via IP addresses. Docker automatically creates a subnet and gateway for the bridge network, and docker run automatically adds containers to it.