Chapter 7. Managing the Networking Stack of a Docker Container

In this chapter, we will cover the following topics:

  • docker0 bridge
  • Troubleshooting Docker bridge configuration
  • Configuring DNS
  • Troubleshooting communication between containers and the external network
  • ibnetwork and the Container Network Model
  • Docker networking tools based on overlay and underlay networks
  • Comparison of Docker networking tools
  • Configuring OpenvSwitch (OVS) to work with Docker

Docker networking

Each Docker container has its own network stack, and this is due to the Linux kernel net namespace, where a new net namespace for each container is instantiated and cannot be seen from outside the container or other containers.

Docker networking is powered by the following network components ...

Get Troubleshooting Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.