Book Image

Monitoring Docker

By : Russ McKendrick
Book Image

Monitoring Docker

By: Russ McKendrick

Overview of this book

This book will show you how monitoring containers and keeping a keen eye on the working of applications helps improve the overall performance of the applications that run on Docker. With the increased adoption of Docker containers, the need to monitor which containers are running, what resources they are consuming, and how these factors affect the overall performance of the system has become the need of the moment. This book covers monitoring containers using Docker's native monitoring functions, various plugins, as well as third-party tools that help in monitoring. Well start with how to obtain detailed stats for active containers, resources consumed, and container behavior. We also show you how to use these stats to improve the overall performance of the system. Next, you will learn how to use SysDig to both view your containers performance metrics in real time and record sessions to query later. By the end of this book, you will have a complete knowledge of how to implement monitoring for your containerized applications and make the most of the metrics you are collecting
Table of Contents (15 chapters)
Monitoring Docker
About the Author
About the Reviewer

Viewing container stats

At the top of the page, there is a link of your running containers; you can either click on the link or go directly to Once the page loads, you should see a list of all your running containers, and also a detailed overview of your Docker process, and finally a list of the images you have downloaded.


Subcontainers shows a list of your containers; each entry is a clickable link that will take you to a page that will give you the following details:

  • Isolation:

    • CPU: This shows you the CPU allowances of the container; if you have not set any resource limits, you will see the host's CPU information

    • Memory: This shows you the memory allowances of the container; if you have not set any resource limits, your container will show an unlimited allowance

  • Usage:

    • Overview: This shows gauges so you can quickly see how close to any resource limits you are

    • Processes: This shows the processes for just your selected container

    • CPU: This shows...