Forrest logo
back to the podman tool

podman-image:tldr:d6f1c

podman-image: Delete all unused images (not just those without a tag).
$ podman image prune --all
try on your machine

The command "podman image prune --all" is used in the Podman container management tool to remove unused or dangling container images from your system.

Here's a breakdown of the command:

  • "podman" is the command-line interface for Podman.
  • "image" is a subcommand that deals with container images.
  • "prune" is a subcommand that removes container images based on specified criteria.
  • "--all" is an option that specifies to prune all unused or dangling container images, regardless of when they were last used.

When you execute this command, Podman will analyze your system's container images and remove any that are not associated with any running containers. This helps you free up disk space and keep your image repository clean and efficient.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the podman tool