mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
docker ps: introducing filters
* starting with filtering for exit codes. `docker ps -a --filter 'exited=1'` * API doc for filter parameter * formatting filters for help usage * tweaks for review This requires https://github.com/dotcloud/docker/pull/4430 Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
@@ -90,6 +90,8 @@ List containers
|
||||
non-running ones.
|
||||
- **size** – 1/True/true or 0/False/false, Show the containers
|
||||
sizes
|
||||
- **filters** – a JSON encoded value of the filters (a map[string][]string)
|
||||
to process on the images list.
|
||||
|
||||
Status Codes:
|
||||
|
||||
@@ -759,7 +761,7 @@ Copy files or folders of container `id`
|
||||
|
||||
|
||||
- **all** – 1/True/true or 0/False/false, default false
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list.
|
||||
- **filters** – a JSON encoded value of the filters (a map[string][]string) to process on the images list.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user