mirror of https://github.com/CrimsonTome/tldr.git
docker-images: add filter example (#4819)
parent
4e011efcbe
commit
61cd51518c
|
@ -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*}}"`
|
||||||
|
|
Loading…
Reference in New Issue