LinuxCommandLibrary

podman-images

List locally stored container images

TLDR

List all images

$ podman images
copy
List with digests
$ podman images --digests
copy
Filter images
$ podman images --filter [reference=nginx*]
copy
Show image IDs only
$ podman images -q
copy
Show all including intermediate
$ podman images -a
copy

SYNOPSIS

podman images [options] [repository[:tag]]

DESCRIPTION

podman images lists container images stored locally. It shows repository, tag, image ID, creation date, and size for each image.

PARAMETERS

-a, --all

Show all images.
-q, --quiet
Only show IDs.
--digests
Show digests.
--filter, -f filter
Filter output.
--format format
Go template format.
--no-trunc
Don't truncate output.
--sort field
Sort by field.

EXAMPLES

$ # List all images
podman images

# With full IDs
podman images --no-trunc

# Filter dangling images
podman images --filter dangling=true

# Custom format
podman images --format "{{.Repository}}:{{.Tag}} {{.Size}}"

# Filter by label
podman images --filter label=maintainer=me

# Sort by size
podman images --sort size
copy

FILTERS

$ dangling=true      - Untagged images
reference=name     - Match reference
before=image       - Created before
since=image        - Created after
label=key=value    - Has label
copy

CAVEATS

Size shown may be shared between images. Use --all to see intermediate layers.

HISTORY

podman images is part of Podman by Red Hat, providing Docker-compatible image listing.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community