Docker Community Forums

Share and learn in the Docker community.

Overlay network and bridge network

Hi guys,

I am new to docker and I am studying the docker network mode. I am a little bit confused by veth interface. The documentation explained that a vethXXX interface was created with each container in default bridge mode. If I create a service through docker swarm, and the service has created an overlay network. Does the container in that service still have the vethXXX interface?

Bridge can even be used to create connection between networks on same host. This is generally required if the host is running multiple VM’s or containers. Overlay networks are usually used to create a virtual network between two separate hosts. Virtual, since the network is build over an existing network.