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)
This commit is contained in:
Kim Eik 2015-10-27 21:12:33 +01:00 committed by Tibor Vass
parent bf03439e68
commit 22aaf42a84
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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