.nh .TH podman-network-rm 1 .SH NAME .PP podman-network-rm - Remove one or more networks .SH SYNOPSIS .PP \fBpodman network rm\fP [\fIoptions\fP] [\fInetwork...\fP] .SH DESCRIPTION .PP Delete one or more Podman networks. .SH OPTIONS .SS \fB--force\fP, \fB-f\fP .PP The \fB\fCforce\fR option will remove all containers that use the named network. If the container is running, the container will be stopped and removed. .SS \fB--time\fP, \fB-t\fP=\fIseconds\fP .PP Seconds to wait before forcibly stopping the running containers that are using the specified network. The --force option must be specified to use the --time option. .SH EXAMPLE .PP Delete the \fB\fCpodman9\fR network .PP .RS .nf # podman network rm podman9 Deleted: podman9 .fi .RE .PP Delete the \fB\fCfred\fR network and all containers associated with the network. .PP .RS .nf # podman network rm -f fred Deleted: fred .fi .RE .SH Exit Status .PP \fB0\fP All specified networks removed .PP \fB1\fP One of the specified networks did not exist, and no other failures .PP \fB2\fP The network is in use by a container or a Pod .PP \fB125\fP The command fails for any other reason .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-network(1)\fP .SH HISTORY .PP August 2019, Originally compiled by Brent Baude bbaude@redhat.com \[la]mailto:bbaude@redhat.com\[ra]