![]() |
![]()
| ![]() |
![]()
NAMEpodman-volume-prune - Remove all unused volumes SYNOPSISpodman volume prune [options] DESCRIPTIONRemoves unused volumes. By default all unused volumes are removed, the --filter flag can be used to filter specific volumes. Users are prompted to confirm the removal of all the unused volumes. To bypass the confirmation, use the --force flag. OPTIONS--filterProvide filter values. The filters argument format is of key=value. If there is more than one filter, then pass multiple OPTIONS: --filter foo=bar --filter bif=baz. Supported filters:
The label filter accepts two formats. One is the label=key or label=key=value, which removes volumes with the specified labels. The other format is the label!=key or label!=key=value, which removes volumes without the specified labels. The until filter can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. 10m, 1h30m) computed relative to the machine’s time. --force, -fDo not prompt for confirmation. --helpPrint usage statement EXAMPLESPrune all unused volumes. $ podman volume prune Prune all volumes. Note: this command will also remove all containers that are using a volume. $ podman volume prune --force Prune all volumes that contain the specified label. $ podman volume prune --filter label=mylabel=mylabelvalue SEE ALSOpodman(1), podman-volume(1) HISTORYNovember 2018, Originally compiled by Urvashi Mohnani umohnani@redhat.com ⟨mailto:umohnani@redhat.com⟩
|