github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/docs/source/markdown/podman-network-rm.1.md (about) 1 % podman-network-rm(1) 2 3 ## NAME 4 podman\-network\-rm - Remove one or more networks 5 6 ## SYNOPSIS 7 **podman network rm** [*options*] [*network...*] 8 9 ## DESCRIPTION 10 Delete one or more Podman networks. 11 12 ## OPTIONS 13 #### **--force**, **-f** 14 15 The `force` option will remove all containers that use the named network. If the container is 16 running, the container will be stopped and removed. 17 18 #### **--time**, **-t**=*seconds* 19 20 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. 21 22 ## EXAMPLE 23 24 Delete the `cni-podman9` network 25 26 ``` 27 # podman network rm cni-podman9 28 Deleted: cni-podman9 29 ``` 30 31 Delete the `fred` network and all containers associated with the network. 32 33 ``` 34 # podman network rm -f fred 35 Deleted: fred 36 ``` 37 38 ## Exit Status 39 **0** All specified networks removed 40 41 **1** One of the specified networks did not exist, and no other failures 42 43 **2** The network is in use by a container or a Pod 44 45 **125** The command fails for any other reason 46 47 ## SEE ALSO 48 **[podman(1)](podman.1.md)**, **[podman-network(1)](podman-network.1.md)** 49 50 ## HISTORY 51 August 2019, Originally compiled by Brent Baude <bbaude@redhat.com>