1podman-pod-exists(1) General Commands Manual podman-pod-exists(1)
2
3
4
6 podman-pod-exists - Check if a pod exists in local storage
7
8
10 podman pod exists pod
11
12
14 podman pod exists checks if a pod exists in local storage. The ID or
15 Name of the pod may be used as input. Podman will return an exit code
16 of 0 when the pod is found. A 1 will be returned otherwise. An exit
17 code of 125 indicates there was an issue accessing the local storage.
18
19
21 Check if a pod called web exists in local storage (the pod does actu‐
22 ally exist).
23
24
25 $ sudo podman pod exists web
26 $ echo $?
27 0
28 $
29
30
31
32 Check if a pod called backend exists in local storage (the pod does not
33 actually exist).
34
35
36 $ sudo podman pod exists backend
37 $ echo $?
38 1
39 $
40
41
42
44 podman(1), podman-pod(1)
45
46
48 December 2018, Originally compiled by Brent Baude (bbaude at redhat dot
49 com)
50
51
52
53 podman-pod-exists(1)