Browse code

Added `dead` to docs for docker ps -f status=...

It is possible to invoke `docker ps -f status=dead`, but the
documentation for docker-ps does not mention `dead` as a valid option.
This commit fixes that.

Signed-off-by: Kareem Khazem <karkhaz@karkhaz.com>

Kareem Khazem authored on 2016/01/14 01:34:18
Showing 2 changed files
... ...
@@ -55,7 +55,7 @@ The currently supported filters are:
55 55
 * label (`label=<key>` or `label=<key>=<value>`)
56 56
 * name (container's name)
57 57
 * exited (int - the code of exited containers. Only useful with `--all`)
58
-* status (created|restarting|running|paused|exited)
58
+* status (created|restarting|running|paused|exited|dead)
59 59
 * ancestor (`<image-name>[:<tag>]`,  `<image id>` or `<image@digest>`) - filters containers that were created from the given image or a descendant.
60 60
 * isolation (default|process|hyperv)   (Windows daemon only)
61 61
 
... ...
@@ -109,7 +109,7 @@ that have exited successfully:
109 109
 
110 110
 #### Status
111 111
 
112
-The `status` filter matches containers by status. You can filter using `created`, `restarting`, `running`, `paused` and `exited`. For example, to filter for `running` containers:
112
+The `status` filter matches containers by status. You can filter using `created`, `restarting`, `running`, `paused`, `exited` and `dead`. For example, to filter for `running` containers:
113 113
 
114 114
     $ docker ps --filter status=running
115 115
     CONTAINER ID        IMAGE                  COMMAND             CREATED             STATUS              PORTS               NAMES
... ...
@@ -29,7 +29,7 @@ the running containers.
29 29
    Filter output based on these conditions:
30 30
    - exited=<int> an exit code of <int>
31 31
    - label=<key> or label=<key>=<value>
32
-   - status=(created|restarting|running|paused|exited)
32
+   - status=(created|restarting|running|paused|exited|dead)
33 33
    - name=<string> a container's name
34 34
    - id=<ID> a container's ID
35 35
    - before=(<container-name>|<container-id>)