Chapter 11. Troubleshooting Docker Networks

In this chapter, we will cover the following recipes:

  • Using tcpdump to verify network paths
  • Verifying VETH pairs
  • Verifying published ports and outbound masquerading
  • Verifying name resolution
  • Building a test container
  • Resetting the local Docker network database

Introduction

As we've seen in earlier chapters, Docker leverages a combination of relatively well-known Linux networking constructs to deliver container networking. Throughout this book, we've looked at many different ways you can configure, consume, and validate Docker networking configuration. What we haven't done is outline a troubleshooting and validation methodology you can use when you run into issues. When troubleshooting container networking, it ...

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.