podman-network-rm(1)
π podman-network-rm(1) bestie walkthrough π
okay so first things first: this is the podman-network-rm(1) page from the General Commands Manual, and it's literally all about removing networks. no cap, that's the whole vibe. We're gonna go through it together, bestie β every flag, every status code, every example, so you don't have to guess. π«Ά
πΈ NAME πΈ
podman-network-rm β remove one or more networks. iconic deletion behavior β¨
β¨ SYNOPSIS β¨
podman network rm [options] [network...]
π DESCRIPTION π
Delete one or more Podman networks. Simple concept, powerful energy β you point it at network names, and it removes them. That's the tea. π΅
π OPTIONS π
--force,-fβ big warning energy: this option removes all containers that use the named network. If a container is running, it gets stopped and removed too. So yeah, it's giving "clean slate" but make sure you actually want that π.--ignore,-iβ ignore the error when a specified network does not exist. Other failures, including a network being in use, are still returned. so it's only forgiving about the missing-network situation β not about everything else, iykyk.--time,-t=secondsβ seconds to wait before forcibly stopping the running containers that are using the specified network. The--forceoption must be specified to use the--timeoption. Use-1for infinite wait. patience is a virtue, but only with--forceπ°οΈ
π EXAMPLES π
Delete specified network:
# podman network rm podman9
podman9
Delete specified network and all containers associated with the network:
# podman network rm -f fred
fred
Delete specified network and all containers associated with the network after waiting up to 15 seconds:
# podman network rm --force --time 15 fred
fred
π₯ Exit Status π₯
0β All specified networks removed slay, clean exit β1β One of the specified networks did not exist, and no other failures2β The network is in use by a container or a Pod125β The command fails for any other reason
π¦ SEE ALSO π¦
podman(1), podman-network(1) β go read these next, bestie π
π§ HISTORY π§
August 2019, Originally compiled by Brent Baude bbaude@redhat.com β¨mailto:bbaude@redhat.comβ©. OG status π
that's the entire podman-network-rm(1) manual page, August 2019 edition β General Commands Manual energy, mwah πβ¨
π¦ where this page comes from
- arch rolling: podman 6.1.4-1 Β· Apache-2.0
- centos-stream 10: podman 7:6.1.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- nixpkgs unstable: podman 6.1.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms