mirror of
https://github.com/docker/cli.git
synced 2026-01-19 21:41:31 +03:00
Allow pulling stats once and disconnecting.
Adds a `stream` query param to the stats API which allows API users to
only collect one stats entry and disconnect instead of keeping the
connection alive to stream more stats.
Also adds a `--no-stream` flag to `docker stats` which does the same
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 485c6d868b
Component: cli
This commit is contained in:
@@ -2394,6 +2394,7 @@ more details on finding shared images from the command line.
|
||||
Display a live stream of one or more containers' resource usage statistics
|
||||
|
||||
--help=false Print usage
|
||||
--no-stream=false Disable streaming stats and only pull the first result
|
||||
|
||||
Running `docker stats` on multiple containers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user