- docker-stats is a tiny cli tool for dumping docker-stats info as text, csv (text/csv; header=present) or json (application/json).
- It connects to Docker API (either TCP or pipe) and polls the information directly from the engine, using official Docker Client.
-
The tool is built against latest stable SDK. If you're running docker from experimental channel, you may need to narrow down API version, by setting
DOCKER_API_VERSION
environment variable:Windows:
$env:DOCKER_API_VERSION="1.35"
Linux/macOS:
export DOCKER_API_VERSION="1.35"
- Unlicensed (~Public Domain)
- https://github.com/shirou/gopsutil - no Windows support declared
- https://github.com/KyleBanks/dockerstats - captures stdout from the
docker stats
command