March 2017
Beginner to intermediate
925 pages
18h 11m
English
With the release of version 1.5, Docker added a feature to get container resource usage from in-built commands.
A Docker host with version 1.5 or later installed, which can be accessed via the Docker client. Also, start a few containers to get stats.
$ docker stats [CONTAINERS]
For example, if we have two containers with the names some-mysql and backstabbing_turing, then run the following command to get the stats:
$ docker stats some-mysql backstabbing_turing

The Docker daemon fetches the ...
Read now
Unlock full access