Options (6)
booleanList all Docker images
Example:
docker {{[images|image ls]}}-a, --allbooleanList all Docker images including intermediates
Example:
docker {{[images|image ls]}} {{[-a|--all]}}-q, --quietbooleanList the output in quiet mode (only numeric IDs)
Example:
docker {{[images|image ls]}} {{[-q|--quiet]}}-f, --filterbooleanList all Docker images not used by any container
Example:
docker {{[images|image ls]}} {{[-f|--filter]}} dangling=true-k, --keybooleanSort images by size
Example:
docker {{[images|image ls]}} --format "\{\{.ID\}\}\t\{\{.Size\}\}\t\{\{.Repository\}\}:\{\{.Tag\}\}" | sort {{[-k|--key]}} 2 {{[-h|--human-numeric-sort]}}-h, --human-numeric-sortbooleanSort images by size
Example:
docker {{[images|image ls]}} --format "\{\{.ID\}\}\t\{\{.Size\}\}\t\{\{.Repository\}\}:\{\{.Tag\}\}" | sort {{[-k|--key]}} 2 {{[-h|--human-numeric-sort]}}Examples (6)
List all Docker images
docker [images|image ls]List all Docker images including intermediates
docker [images|image ls] [-a|--all]List the output in quiet mode (only numeric IDs)
docker [images|image ls] [-q|--quiet]List all Docker images not used by any container
docker [images|image ls] [-f|--filter] dangling=trueList images that contain a substring in their name
docker [images|image ls] "*name*"made by @shridhargupta | data from tldr-pages