docker-images
docker-images
TLDR
List all Docker images
$ docker images
List all Docker images including intermediates
$ docker images --all
List the output in quiet mode (only numeric IDs)
$ docker images --quiet
List all Docker images not used by any container
$ docker images --filter dangling=true
List images that contain a substring in their name
$ docker images "[*name*]"
Sort images by size
$ docker images --format "[.ID]\t[.Size]\t[.Repository]:[.Tag]" | sort -k 2 -h
SYNOPSIS
docker images [OPTIONS] [REPOSITORY[:TAG]]
DESCRIPTION
Alias for docker image ls.
OPTIONS
-a, --all[=false] Show all images (default hides intermediate images)
--digests[=false] Show digests
-f, --filter= Filter output based on conditions provided
--format="" Format output using a custom template:
Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates
-h, --help[=false] help for images
--no-trunc[=false] Don't truncate output
-q, --quiet[=false] Only show image IDs
SEE ALSO
docker(1)