add support for filtering by network ID

This adds support for filtering by network ID, to be
consistent with other filter options.

Note that only *full* matches are returned; this is
consistent with other filters (e.g. volume), that
also return full matches only.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2017-06-02 00:07:42 +00:00
committed by Tibor Vass
parent eef6bd0b23
commit 44cc95141e
2 changed files with 26 additions and 8 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ the running containers.
- since=(<container-name>|<container-id>)
- ancestor=(<image-name>[:tag]|<image-id>|<image@digest>) - containers created from an image or a descendant.
- volume=(<volume-name>|<mount-point-destination>)
- network=(<network-name>) - containers connected to the provided network name
- network=(<network-name>|<network-id>) - containers connected to the provided network
**--format**="*TEMPLATE*"
Pretty-print containers using a Go template.