Remove a network
Delete unused networks by using the podman network rm command. Note that you cannot remove a network if it is currently in use by any containers.
Before you begin
- The
container-toolsmeta-package is installed.
Procedure
Results
- Check if
mynetnetwork was removed:# podman network lsNETWORK ID NAME VERSION PLUGINS 2f259bab93aa podman 0.4.0 bridge,portmap,firewall,tuningFor more information, see
podman-network-rm(1)man page on your system.