Skip to content

Instantly share code, notes, and snippets.

@murarisumit
Created July 5, 2018 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save murarisumit/5be6f381ca44684c2cefebdb63ee5ef5 to your computer and use it in GitHub Desktop.
Save murarisumit/5be6f381ca44684c2cefebdb63ee5ef5 to your computer and use it in GitHub Desktop.
Docker networking #docker #networking

In backend of all docker networking:

  • When the daemon instantiates the container, it assigns a unique network address to it, connecting it to a virtual Ethernet bridge, which in the case of Docker is called docker0.
  • All containers in the system communicate with each other by directing packets to docker0, which then forwards those packets through the subnet automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment