docker images

List images on the local system. Shows repository, tag, image ID, size, and creation time.

Syntax

docker images [OPTIONS] [REPOSITORY[:TAG]]

Examples

Example 1
docker images

List all local images.

Example 2
docker images nginx

List only nginx images.

Example 3
docker images -q

Show only image IDs (useful for scripting).

Common flags

FlagDescription
-a, --allShow all images including intermediate
-q, --quietShow only image IDs
--no-truncDo not truncate output

Tips & best practices

Related commands

View full Docker cheatsheet →