1podman-volume-prune(1)()                              podman-volume-prune(1)()
2
3
4

NAME

6       podman-volume-prune - Remove all unused volumes
7
8

SYNOPSIS

10       podman volume prune [options]
11
12

DESCRIPTION

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

OPTIONS

21   --filter
22       Provide filter values.
23
24
25       The filters argument format is of key=value. If there is more than  one
26       filter, then pass multiple OPTIONS: --filter foo=bar --filter bif=baz.
27
28
29       Supported filters:
30
31
32       ┌───────┬────────────────────────────┐
33Filter Description                
34       ├───────┼────────────────────────────┤
35label  │ Only  remove volumes, with │
36       │       │ (or without, in  the  case │
37       │       │ of  label!=[...]  is used) │
38       │       │ the specified labels.      │
39       ├───────┼────────────────────────────┤
40until  │ Only remove  volumes  cre‐ │
41       │       │ ated  before  given  time‐ │
42       │       │ stamp.                     │
43       └───────┴────────────────────────────┘
44
45       The label filter accepts two formats.  One  is  the  label=key  or  la‐
46       bel=key=value,  which  removes  volumes  with the specified labels. The
47       other format is the label!=key or label!=key=value, which removes  vol‐
48       umes without the specified labels.
49
50
51       The  until filter can be Unix timestamps, date formatted timestamps, or
52       Go duration strings (e.g. 10m, 1h30m)  computed  relative  to  the  ma‐
53       chine’s time.
54
55
56   --force, -f
57       Do not prompt for confirmation.
58
59
60   --help
61       Print usage statement
62
63

EXAMPLES

65              $ podman volume prune
66
67              $ podman volume prune --force
68
69              $ podman volume prune --filter label=mylabel=mylabelvalue
70
71
72

SEE ALSO

74       podman(1), podman-volume(1)
75
76

HISTORY

78       November  2018,  Originally  compiled  by Urvashi Mohnani umohnani@red‐
79       hat.com ⟨mailto:umohnani@redhat.com⟩
80
81
82
83                                                      podman-volume-prune(1)()
Impressum