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)
Upstream-commit: 22aaf42a84
Component: cli
This commit is contained in:
Kim Eik
2017-06-02 00:07:23 +00:00
committed by Tibor Vass
parent 26855c6072
commit 1996d937de
2 changed files with 6 additions and 0 deletions
@@ -21,6 +21,9 @@ For example:
$ docker -D info
Containers: 14
Running: 3
Paused: 1
Stopped: 10
Images: 52
Server Version: 1.9.0
Storage Driver: aufs
+3
View File
@@ -32,6 +32,9 @@ Here is a sample output:
# docker info
Containers: 14
Running: 3
Paused: 1
Stopped: 10
Images: 52
Server Version: 1.9.0
Storage Driver: aufs