.nh .TH podman\-pod\-exists(1) .SH NAME .PP podman\-pod\-exists \- Check if a pod exists in local storage .SH SYNOPSIS .PP \fBpodman pod exists\fP \fIpod\fP .SH DESCRIPTION .PP \fBpodman pod exists\fP checks if a pod exists in local storage. The \fBID\fP or \fBName\fP of the pod may be used as input. Podman will return an exit code of \fB\fC0\fR when the pod is found. A \fB\fC1\fR will be returned otherwise. An exit code of \fB\fC125\fR indicates there was an issue accessing the local storage. .SH EXAMPLES .PP Check if a pod called \fB\fCweb\fR exists in local storage (the pod does actually exist). .PP .RS .nf $ sudo podman pod exists web $ echo $? 0 $ .fi .RE .PP Check if a pod called \fB\fCbackend\fR exists in local storage (the pod does not actually exist). .PP .RS .nf $ sudo podman pod exists backend $ echo $? 1 $ .fi .RE .SH SEE ALSO .PP podman\-pod(1), podman(1) .SH HISTORY .PP December 2018, Originally compiled by Brent Baude (bbaude at redhat dot com)