Chapter 4. Building Docker Networks

In this chapter, we will cover the following recipes:

  • Manually networking containers
  • Specifying your own bridge
  • Using an OVS bridge
  • Using an OVS bridge to connect Docker hosts
  • OVS and Docker together

Introduction

As we've seen in earlier chapters, Docker does a great job of handling many container networking needs. However, this does not limit you to using only Docker-provided network elements to connect containers. So while Docker can facilitate the networking for you, you can also connect containers manually. The drawback to this approach is that Docker becomes unaware of the network state of the container because it wasn't involved in network provisioning. As we'll see in Chapter 7, Working with Weave Net, Docker ...

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.