Chapter 10: Troubleshooting and Monitoring Containers
Running a container could be mistaken as the ultimate goal for a DevOps team, but instead, this is only the first step of a long journey. System administrators should ensure that their systems are working properly to keep the services up and running; in the same way, the DevOps team should ensure that their containers are working properly.
In container management activities, having the right knowledge of troubleshooting techniques could really help minimize any impact on the final services, reducing downtime. Talking of issues and troubleshooting, a good practice is to keep monitoring containers to easily intercept any issues or errors to speed up recovery.
In this chapter, we're going to cover the following main topics:
- Troubleshooting running containers
- Monitoring containers with health checks
- Inspecting our container build results
- Advanced troubleshooting with
nsenter