github.com/containers/podman/v5@v5.1.0-rc1/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 removes all containers that use the named network. If the container is 16 running, the container is 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. Use -1 for infinite wait. 21 22 ## EXAMPLE 23 24 Delete specified network: 25 ``` 26 # podman network rm podman9 27 Deleted: podman9 28 ``` 29 30 Delete specified network and all containers associated with the network: 31 ``` 32 # podman network rm -f fred 33 Deleted: fred 34 ``` 35 36 ## Exit Status 37 **0** All specified networks removed 38 39 **1** One of the specified networks did not exist, and no other failures 40 41 **2** The network is in use by a container or a Pod 42 43 **125** The command fails for any other reason 44 45 ## SEE ALSO 46 **[podman(1)](podman.1.md)**, **[podman-network(1)](podman-network.1.md)** 47 48 ## HISTORY 49 August 2019, Originally compiled by Brent Baude <bbaude@redhat.com>