Added additional container information to "docker info".
Instead of just showing the number of containers this patch will show the number of running, paused and stopped containers as well. Signed-off-by: Kim Eik <kim@heldig.org> (cherry picked from commit a9804ab1cb117a132cbf460067d55f5146d50956)master
parent
bf03439e68
commit
22aaf42a84
|
@ -21,6 +21,9 @@ For example:
|
||||||
|
|
||||||
$ docker -D info
|
$ docker -D info
|
||||||
Containers: 14
|
Containers: 14
|
||||||
|
Running: 3
|
||||||
|
Paused: 1
|
||||||
|
Stopped: 10
|
||||||
Images: 52
|
Images: 52
|
||||||
Server Version: 1.9.0
|
Server Version: 1.9.0
|
||||||
Storage Driver: aufs
|
Storage Driver: aufs
|
||||||
|
|
|
@ -32,6 +32,9 @@ Here is a sample output:
|
||||||
|
|
||||||
# docker info
|
# docker info
|
||||||
Containers: 14
|
Containers: 14
|
||||||
|
Running: 3
|
||||||
|
Paused: 1
|
||||||
|
Stopped: 10
|
||||||
Images: 52
|
Images: 52
|
||||||
Server Version: 1.9.0
|
Server Version: 1.9.0
|
||||||
Storage Driver: aufs
|
Storage Driver: aufs
|
||||||
|
|
Loading…
Reference in New Issue