Docker Default Bridge Network
The default docker0 bridge is a Linux bridge on a private subnet (typically 172.17.0.0/16); containers attach via veth pairs, use the bridge IP as default gateway, and reach the internet through masquerading. Containers on it can reach each other only by IP — there is no DNS by container name, which is why it is discouraged for real applications.
This Concept is waiting for its first lesson!
The default docker0 bridge is a Linux bridge on a private subnet (typically 172.17.0.0/16); containers attach via veth pairs, use the bridge IP as default gateway, and reach the internet through masquerading. Containers on it can reach each other only by IP — there is no DNS by container name, which is why it is discouraged for real applications.
Are you a teacher? Sign in to start contributing.
Sign In