Merge pull request #14570 from vdemeester/13365-ps-image-filter

Add docker ps ancestor filter for image
Upstream-commit: b1cb1b1df493b3e0b739b9f374b6c82e306dede8
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2015-08-28 19:47:43 +02:00
5 changed files with 202 additions and 6 deletions

View File

@ -50,6 +50,7 @@ The currently supported filters are:
* name (container's name)
* exited (int - the code of exited containers. Only useful with `--all`)
* status (created|restarting|running|paused|exited)
* ancestor (`<image-name>[:<tag>]`, `<image id>` or `<image@digest>`) - filters containers that were created from the given image or a descendant.
#### Label