Monitoring is important as it provides a source of feedback on the Docker deployment that we built. It provides an in-depth view of our application, from the performance of the low-level operating system to high-level business targets. Having proper instrumentation inserted in our Docker hosts allows us to identify our system's state. We can use this source of feedback to identify whether our application is behaving as originally planned.
If our initial hypothesis was incorrect, we can use the feedback data to revise our plan and change our system accordingly by tuning our Docker host and containers or updating our running Docker application. We can also use the same monitoring process to identify errors and bugs after our system is deployed to production.
Docker has built-in features to log and monitor. By default, a Docker host stores a Docker...