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

Merge pull request #12798 from dnephin/add_missing_docs_about_labels

Add missing API docs about filtering by label
This commit is contained in:
moxiegirl 2015-04-27 17:37:10 -07:00
commit aebeefa886
2 changed files with 4 additions and 0 deletions

View file

@ -91,6 +91,7 @@ Query Parameters:
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list. Available filters:
- exited=<int> -- containers with exit code of <int>
- status=(restarting|running|paused|exited)
- label=`key` or `key=value` of a container label
Status Codes:
@ -1191,6 +1192,7 @@ Query Parameters:
- **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. Available filters:
- dangling=true
- label=`key` or `key=value` of an image label
### Build image from a Dockerfile

View file

@ -91,6 +91,7 @@ Query Parameters:
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list. Available filters:
- exited=<int> -- containers with exit code of <int>
- status=(restarting|running|paused|exited)
- label=`key` or `key=value` of a container label
Status Codes:
@ -1194,6 +1195,7 @@ Query Parameters:
- **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. Available filters:
- dangling=true
- label=`key` or `key=value` of an image label
### Build image from a Dockerfile