Chapter 8

Containers Networking

In the previous three chapters, we learned the basics of containers and how Docker takes containers to the next level. But simply standing up containers does not serve a purpose: the containers need to talk to each other, and connectivity with the external world must be designed as part of your deployment. In this chapter, we discuss and learn about networking options in the world of containers. First, let’s refresh our knowledge of some basic concepts in Linux that will assist our discussion of containers networking.

Key Linux Concepts

Containers, as we know, are self-contained and isolated virtual environments. They can run an entire application or part of an application. In either case, one of the key needs ...

Get Microservices and Containers, First 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.