docker images
lists the available images. docker images [OPTIONS] [REPOSITORY[:TAG]]
-a | --all | Show all images (default hides intermediate images) |
--digests | Show digests | |
-f | --filter filter | Filter output based on conditions provided |
--format string | Pretty-print images using a Go template | |
--no-trunc | Don't truncate output | |
-q | --quiet | Only show image IDs |
-f
option allows to filter the returned set of images with key=value pairs
, for example: $ docker images -f dangling=true
Key | Value | |
dangling | true or false | |
label | <key> or <key>=<value> | |
before , since | <image-name>[:<tag>] , <image id> or <image@digest> | Images created before/after the given id or reference |
reference | pattern | Images whose reference matches pattern |
docker image …