HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

podman image — Manage OCI/Docker container images. See also: `podman build`, `podman import`, `podman pull`. More i

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandimagesdockerclimanagecontainerocipodman image

Problem

How to use the podman image command: Manage OCI/Docker container images. See also: podman build, podman import, podman pull. More information: <https://docs.podman.io/en/latest/markdown/podman-image.1.html>.

Solution

podman image — Manage OCI/Docker container images. See also: podman build, podman import, podman pull. More information: <https://docs.podman.io/en/latest/markdown/podman-image.1.html>.

List local container images:
podman image {{[ls|list]}}


Delete unused local container images:
podman image prune


Delete all unused images (not just those without a tag):
podman image prune {{[-a|--all]}}


Show the history of a local container image:
podman image history {{image}}

Code Snippets

List local container images

podman image {{[ls|list]}}

Delete unused local container images

podman image prune

Delete all unused images (not just those without a tag)

podman image prune {{[-a|--all]}}

Show the history of a local container image

podman image history {{image}}

Context

tldr-pages: common/podman image

Revisions (0)

No revisions yet.