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 returns an exit code of 0
16 when the pod is found. A 1 is returned otherwise. An exit code of 125
17 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 $ sudo podman pod exists web
25 $ echo $?
26 0
27 $
28
29
30
31 Check if a pod called backend exists in local storage (the pod does not
32 actually exist).
33
34 $ sudo podman pod exists backend
35 $ echo $?
36 1
37 $
38
39
40
42 podman(1), podman-pod(1)
43
44
46 December 2018, Originally compiled by Brent Baude (bbaude at redhat dot
47 com)
48
49
50
51 podman-pod-exists(1)