From 012e05bdd4e9c958c43d4f997a580aac6e842495 Mon Sep 17 00:00:00 2001 From: zhangyue Date: Wed, 5 Dec 2018 12:04:06 +0800 Subject: [PATCH] fix: add more details about multiple images filter Signed-off-by: zhangyue --- docs/reference/commandline/images.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/reference/commandline/images.md b/docs/reference/commandline/images.md index 4064275126..7e804ca674 100644 --- a/docs/reference/commandline/images.md +++ b/docs/reference/commandline/images.md @@ -286,6 +286,16 @@ busybox uclibc e02e811dd08f 5 weeks ago busybox glibc 21c16b6787c6 5 weeks ago 4.19 MB ``` +Filtering with multiple `reference` would give, either match A or B: + +```bash +$ docker images --filter=reference='busy*:uclibc' --filter=reference='busy*:glibc' + +REPOSITORY TAG IMAGE ID CREATED SIZE +busybox uclibc e02e811dd08f 5 weeks ago 1.09 MB +busybox glibc 21c16b6787c6 5 weeks ago 4.19 MB +``` + ### Format the output The formatting option (`--format`) will pretty print container output