.nh .TH podman-network-exists 1 .SH NAME .PP podman-network-exists - Check if the given network exists .SH SYNOPSIS .PP \fBpodman network exists\fP \fInetwork\fP .SH DESCRIPTION .PP \fBpodman network exists\fP checks if a network exists. The \fBName\fP or \fBID\fP of the network may be used as input. Podman will return an exit code of \fB\fC0\fR when the network is found. A \fB\fC1\fR will be returned otherwise. An exit code of \fB\fC125\fR indicates there was another issue. .SH OPTIONS .SS \fB--help\fP, \fB-h\fP .PP Print usage statement .SH EXAMPLE .PP Check if a network called \fB\fCnet1\fR exists (the network does actually exist). .PP .RS .nf $ podman network exists net1 $ echo $? 0 $ .fi .RE .PP Check if a network called \fB\fCwebbackend\fR exists (the network does not actually exist). .PP .RS .nf $ podman network exists webbackend $ echo $? 1 $ .fi .RE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-network(1)\fP .SH HISTORY .PP January 2021, Originally compiled by Paul Holzinger \fB\fC\fR