Skip to content

Commit

Permalink
changed the container name in docker stats page
Browse files Browse the repository at this point in the history
Signed-off-by: Aslam Ahemad <aslamahemad@gmail.com>
  • Loading branch information
aslamahemad authored and thaJeztah committed Feb 14, 2023
1 parent c173316 commit d2f726d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/commandline/stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ $ docker stats nginx --no-stream --format "{{ json . }}"
Running `docker stats` with customized format on all (Running and Stopped) containers.

```console
$ docker stats --all --format "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}" fervent_panini 5acfcb1b4fd1 drunk_visvesvaraya big_heisenberg
$ docker stats --all --format "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}" fervent_panini 5acfcb1b4fd1 humble_visvesvaraya big_heisenberg

CONTAINER CPU % MEM USAGE / LIMIT
fervent_panini 0.00% 56KiB / 15.57GiB
5acfcb1b4fd1 0.07% 32.86MiB / 15.57GiB
drunk_visvesvaraya 0.00% 0B / 0B
humble_visvesvaraya 0.00% 0B / 0B
big_heisenberg 0.00% 0B / 0B
```

`drunk_visvesvaraya` and `big_heisenberg` are stopped containers in the above example.
`humble_visvesvaraya` and `big_heisenberg` are stopped containers in the above example.

Running `docker stats` on all running containers against a Windows daemon.

Expand Down

0 comments on commit d2f726d

Please sign in to comment.