Sfoglia il codice sorgente

Complete documentation about extra container information.

Signed-off-by: David Calavera <david.calavera@gmail.com>
David Calavera 9 anni fa
parent
commit
e5edc168a6

+ 1 - 0
docs/reference/api/docker_remote_api.md

@@ -112,6 +112,7 @@ This section lists each version from latest to oldest.  Each listing includes a
 * `GET /networks` now supports filtering by `name`, `id` and `type`.
 * `POST /containers/create` now allows you to set the static IPv4 and/or IPv6 address for the container.
 * `POST /networks/(id)/connect` now allows you to set the static IPv4 and/or IPv6 address for the container.
+* `GET /info` now includes the number of containers running, stopped, and paused.
 
 ### v1.21 API changes
 

+ 3 - 0
docs/reference/api/docker_remote_api_v1.22.md

@@ -2081,6 +2081,9 @@ Display system-wide information
     {
         "Architecture": "x86_64",
         "Containers": 11,
+        "ContainersRunning": 7,
+        "ContainersStopped": 3,
+        "ContainersPaused": 1,
         "CpuCfsPeriod": true,
         "CpuCfsQuota": true,
         "Debug": false,