11: Docker Networking

It’s always the network!

Any time there’s an infrastructure problem, we always blame the network. Part of the reason is that networks are at the center of everything — no network, no app!

In the early days of Docker, networking was hard. These days, it’s almost a pleasure ;-)

In this chapter, we’ll look at the fundamentals of Docker networking. Things like the Container Network Model (CNM) and libnetwork. We’ll also get our hands dirty building and testing networks.

As usual, we’ll split the chapter into three parts:

  • The TLDR
  • The deep dive
  • The commands

Docker Networking - The TLDR

Docker runs applications inside of containers, and applications need to communicate with other application. Some of these other applications ...

Get Docker Deep Dive - Second Edition 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.