1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

docs: fix bullet list and missing label filter

Some bullet lists didn't render as bullet-lists because
of a missing newline.

Also added missing "label" filter for `docker ps` and
slightly re-worded the header above the supported filters.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2015-04-01 00:16:43 +02:00
parent 2c0ee48224
commit 37c7f3a204

View file

@ -986,7 +986,7 @@ Using multiple filters will be handled as a *AND*; for example
`--filter container=588a23dac085 --filter event=start` will display events for container `--filter container=588a23dac085 --filter event=start` will display events for container
container 588a23dac085 *AND* the event type is *start* container 588a23dac085 *AND* the event type is *start*
Current filters: The currently supported filters are:
* container * container
* event * event
@ -1233,7 +1233,8 @@ also reference by digest in `create`, `run`, and `rmi` commands, as well as the
The filtering flag (`-f` or `--filter`) format is of "key=value". If there is more The filtering flag (`-f` or `--filter`) format is of "key=value". If there is more
than one filter, then pass multiple flags (e.g., `--filter "foo=bar" --filter "bif=baz"`) than one filter, then pass multiple flags (e.g., `--filter "foo=bar" --filter "bif=baz"`)
Current filters: The currently supported filters are:
* dangling (boolean - true or false) * dangling (boolean - true or false)
* label (`label=<key>` or `label=<key>=<value>`) * label (`label=<key>` or `label=<key>=<value>`)
@ -1584,10 +1585,12 @@ Running `docker ps --no-trunc` showing 2 linked containers.
The filtering flag (`-f` or `--filter)` format is a `key=value` pair. If there is more The filtering flag (`-f` or `--filter)` format is a `key=value` pair. If there is more
than one filter, then pass multiple flags (e.g. `--filter "foo=bar" --filter "bif=baz"`) than one filter, then pass multiple flags (e.g. `--filter "foo=bar" --filter "bif=baz"`)
Current filters: The currently supported filters are:
* id (container's id) * id (container's id)
* label (`label=<key>` or `label=<key>=<value>`)
* name (container's name) * name (container's name)
* exited (int - the code of exited containers. Only useful with '--all') * exited (int - the code of exited containers. Only useful with `--all`)
* status (restarting|running|paused|exited) * status (restarting|running|paused|exited)
##### Successfully exited containers ##### Successfully exited containers