1podman-volume-exists(1)() podman-volume-exists(1)()
2
3
4
6 podman-volume-exists - Check if the given volume exists
7
8
10 podman volume exists volume
11
12
14 podman volume exists checks if a volume exists. Podman will return an
15 exit code of 0 when the volume is found. A 1 will be returned other‐
16 wise. An exit code of 125 indicates there was another issue.
17
18
20 --help, -h
21 Print usage statement
22
23
25 Check if a volume called myvol exists (the volume does actually exist).
26
27
28 $ podman volume exists myvol
29 $ echo $?
30 0
31 $
32
33
34
35 Check if an volume called mysql exists (the volume does not actually
36 exist).
37
38
39 $ podman volume exists mysql
40 $ echo $?
41 1
42 $
43
44
45
47 podman(1), podman-volume-create(1), podman-volume-rm(1)
48
49
51 January 2021, Originally compiled by Paul Holzinger
52 <paul.holzinger@web.de>
53
54
55
56 podman-volume-exists(1)()