1podman-pod-exits(1)              December 2018             podman-pod-exits(1)
2
3
4

NAME

6       podman-pod-exists - Check if a pod exists in local storage
7
8
9

SYNOPSIS

11       podman pod exists [-h|--help] pod
12
13
14

DESCRIPTION

16       podman pod exists checks if a pod exists in local storage. The ID or
17       Name of the pod may be used as input.  Podman will return an exit code
18       of 0 when the pod is found.  A 1 will be returned otherwise. An exit
19       code of 125 indicates there was an issue accessing the local storage.
20
21

Examples

23       Check if a pod called web exists in local storage (the pod does
24       actually exist).
25
26
27              $ sudo podman pod exists web
28              $ echo $?
29              0
30              $
31
32
33
34       Check if a pod called backend exists in local storage (the pod does not
35       actually exist).
36
37
38              $ sudo podman pod exists backend
39              $ echo $?
40              1
41              $
42
43
44

SEE ALSO

46       podman-pod(1), podman(1)
47
48
49

HISTORY

51       December 2018, Originally compiled by Brent Baude (bbaude at redhat dot
52       com)
53
54
55
56Brent Baude                     Podman Man Pages           podman-pod-exits(1)
Impressum