mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
596 B
Plaintext
27 lines
596 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|