Chapter 2. Using the Built-in Tools
In the later chapters of this book, we will explore the monitoring parts of the large eco-system that has started to flourish around Docker over the last 24 months. However, before we press ahead with that, we should take a look at what is possible with a vanilla installation of Docker. In this chapter, we will cover the following topics:
- Using the tools built into Docker to get real-time metrics on container performance
- Using standard operating system commands to get metrics on what Docker is doing
- Generating a test load so you can view the metrics changing
Since version 1.5, there has been a basic statistic command built into Docker:
docker stats --help Usage: docker stats [OPTIONS] CONTAINER [CONTAINER...] ...