Documentation for filtering events by label

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: c1713e7c5a8f2eee7d78b17eef81b0d4203aabdd
Component: engine
This commit is contained in:
Daniel Nephin
2015-09-30 13:12:41 -04:00
parent 1dfde818a2
commit 883f553c16
3 changed files with 9 additions and 10 deletions

View File

@ -48,9 +48,10 @@ container container 588a23dac085 *AND* the event type is *start*
The currently supported filters are:
* container
* event
* image
* container (`container=<name or id>`)
* event (`event=<event type>`)
* image (`image=<tag or id>`)
* label (`label=<key>` or `label=<key>=<value>`)
## Examples
@ -133,4 +134,3 @@ relative to the current time on the client machine:
2014-05-10T17:42:14.999999999Z07:00 4386fb97867d: (from ubuntu-1:14.04) stop
2014-05-10T17:42:14.999999999Z07:00 7805c1d35632: (from redis:2.8) die
2014-09-03T15:49:29.999999999Z07:00 7805c1d35632: (from redis:2.8) stop