© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
S. BhatPractical Docker with Pythonhttps://doi.org/10.1007/978-1-4842-7815-4_6

6. Understanding Docker Networks

Sathyajith Bhat1  
(1)
Bangalore, Karnataka, India
 

In the previous chapters, you learned about Docker and its associated terminologies, took a deeper look into how to build Docker images using the Dockerfile, and learned about how to persist data generated by containers.

In this chapter, you will look at networking in Docker and learn how containers can talk to each other and discover each other with the help of Docker’s networking features.

Why Do We Need Container Networking?

Traditionally, most compute solutions are thought of as single-purpose solutions—it ...

Get Practical Docker with Python: Build, Release, and Distribute Your Python App with 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.