Reputation: 307
By default docker stats
produces streaming output. Is there any way to get a single snapshot of the stats output?
Upvotes: 5
Views: 913
Reputation: 74680
docker stats
has the --no-stream
argument
docker stats --no-stream container_name
You can get the extended usage information for each of the docker commands with docker help <command_name>
and the list of all commands with docker help
Upvotes: 7