O'Reilly logo

Docker High Performance by Allan Espinosa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Troubleshooting Containers

Sometimes, instrumentation, such as the monitoring and logging system we set up in Chapter 4, Monitoring Docker Hosts and Containers, is not enough. Ideally, we should put in place a way to troubleshoot our Docker deployments in a scalable fashion. However, sometimes, we have no choice but to log in to the Docker host and look at the Docker containers themselves.

In this chapter, we will cover the following topics:

  • Inspecting containers with docker exec
  • Debugging from outside Docker
  • Other debugging suites

Inspecting containers

When troubleshooting servers, the traditional way to debug is to log in and poke around the machine. With Docker, this typical workflow is split into two steps: the first is logging in to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required