1podman-volume-rm(1)() podman-volume-rm(1)()
2
3
4
6 podman-volume-rm - Remove one or more volumes
7
8
10 podman volume rm [options] volume [...]
11
12
14 Removes one or more volumes. Only volumes that are not being used will
15 be removed. If a volume is being used by a container, an error will be
16 returned unless the --force flag is being used. To remove all volumes,
17 use the --all flag. Volumes can be removed individually by providing
18 their full name or a unique partial name.
19
20
22 --all, -a
23 Remove all volumes.
24
25
26 --force, -f
27 Remove a volume by force. If it is being used by containers, the con‐
28 tainers will be removed first.
29
30
31 --help
32 Print usage statement
33
34
36 $ podman volume rm myvol1 myvol2
37
38 $ podman volume rm --all
39
40 $ podman volume rm --force myvol
41
42
43
45 0 All specified volumes removed
46
47
48 1 One of the specified volumes did not exist, and no other failures
49
50
51 2 One of the specified volumes is being used by a container
52
53
54 125 The command fails for any other reason
55
56
58 podman-volume(1)
59
60
62 November 2018, Originally compiled by Urvashi Mohnani umohnani@red‐
63 hat.com ⟨mailto:umohnani@redhat.com⟩
64
65
66
67 podman-volume-rm(1)()