docker-images: add filter example (#4819)
This commit is contained in:
@@ -9,12 +9,16 @@
|
|||||||
|
|
||||||
- List all Docker images including intermediates:
|
- List all Docker images including intermediates:
|
||||||
|
|
||||||
`docker images -a`
|
`docker images --all`
|
||||||
|
|
||||||
- List the output in quiet mode (only numeric IDs):
|
- List the output in quiet mode (only numeric IDs):
|
||||||
|
|
||||||
`docker images -q`
|
`docker images --quiet`
|
||||||
|
|
||||||
- List all Docker images not used by any container:
|
- List all Docker images not used by any container:
|
||||||
|
|
||||||
`docker images --filter dangling=true`
|
`docker images --filter dangling=true`
|
||||||
|
|
||||||
|
- List images that contain a substring in their name:
|
||||||
|
|
||||||
|
`docker images "{{*name*}}"`
|
||||||
|
Reference in New Issue
Block a user