Browse code

Complete documentation about extra container information.

Signed-off-by: David Calavera <david.calavera@gmail.com>

David Calavera authored on 2016/01/12 09:23:12
Showing 2 changed files
... ...
@@ -112,6 +112,7 @@ This section lists each version from latest to oldest.  Each listing includes a
112 112
 * `GET /networks` now supports filtering by `name`, `id` and `type`.
113 113
 * `POST /containers/create` now allows you to set the static IPv4 and/or IPv6 address for the container.
114 114
 * `POST /networks/(id)/connect` now allows you to set the static IPv4 and/or IPv6 address for the container.
115
+* `GET /info` now includes the number of containers running, stopped, and paused.
115 116
 
116 117
 ### v1.21 API changes
117 118
 
... ...
@@ -2081,6 +2081,9 @@ Display system-wide information
2081 2081
     {
2082 2082
         "Architecture": "x86_64",
2083 2083
         "Containers": 11,
2084
+        "ContainersRunning": 7,
2085
+        "ContainersStopped": 3,
2086
+        "ContainersPaused": 1,
2084 2087
         "CpuCfsPeriod": true,
2085 2088
         "CpuCfsQuota": true,
2086 2089
         "Debug": false,