Add missing API docs about filtering by label.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2015-04-26 15:36:01 -04:00
parent 6cba3109c2
commit cfd0f53b03
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=&lt;int&gt; -- containers with exit code of &lt;int&gt;
- 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=&lt;int&gt; -- containers with exit code of &lt;int&gt;
- 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