DOKK / manpages / debian 11 / podman / podman-volume-prune.1.en
podman-volume-prune(1)() podman-volume-prune(1)()

podman-volume-prune - Remove all unused volumes

podman volume prune [options]

Removes unused volumes. By default all unused volumes will be removed, the --filter flag can be used to filter specific volumes. You will be prompted to confirm the removal of all the unused volumes. To bypass the confirmation, use the --force flag.

--force, -f

Do not prompt for confirmation.

--filter

Filter volumes to be pruned. Volumes can be filtered by the following attributes:

  • dangling
  • driver
  • label
  • name
  • opt
  • scope

--help

Print usage statement

$ podman volume prune
$ podman volume prune --force
$ podman volume prune --filter label=mylabel=mylabelvalue

podman-volume(1)

November 2018, Originally compiled by Urvashi Mohnani umohnani@redhat.com ⟨mailto:umohnani@redhat.com⟩