Valid_lft forever preferred_lft forever Basic Container Networking Inet6 fe80::4ebb:58ff:fe9c:f555/64 scope linkģ: docker0: mtu 1500 qdisc noqueue state DOWN group default You should see the output like this: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default You can easily find out the docker bridge interface and IP address by running the following command: sudo ip a Docker assigns the IP address 172.17.0.2/16 to the bridge interface docker0 which acts as a subnet for all the IP addresses of the running containers. Find the Docker Interfaceīy default docker creates a bridge interface - docker0 on the host system when the docker process starts up. The host network adds a container on the hosts network stack. The none network adds a container to a container-specific network stack. The bridge network represents the docker0 network present in all Docker installations.
You should see the following output: NETWORK ID NAME DRIVER You can list these networks by simply running the following command: sudo docker network ls
When you install docker, it creates three networks automatically.
These services, running in the containers, might be on a single host, on multiple hosts or even across data centers - therefore container networking is a critical factor of any Docker-based distributed application. View PlansĪs you build your distributed application, the services is composes of will need to be able to communicate with each other. Need Hosting? Try ours, it's fast, reliable and feature loaded with support you can depend on.