Chapter 2. Configuring and Monitoring Docker Networks

In this chapter, we will cover the following recipes:

  • Verifying host-level settings that impact Docker networking
  • Connecting containers in bridge mode
  • Exposing and publishing ports
  • Connecting containers to existing containers
  • Connecting containers in host mode
  • Configuring service-level settings

Introduction

Docker makes consuming container technology easier than it's ever been before. Known for its ease of use, Docker offers many advanced features but installs with a sane set of defaults that make it easy to quickly start building containers. And while network configuration is typically the one area that requires additional attention before use, Docker makes it easy to get your containers up and on ...

Get Docker Networking Cookbook 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.