podman-network - Man Page

Manage Podman networks


podman network subcommand


The network command manages networks for Podman.

Podman supports two network backends Netavark and CNI. Netavark is the default network backend and was added in Podman v4.0. CNI will be deprecated in the future in preference of Netavark. To configure the network backend use the network_backendkey under the [Network] in containers.conf(5). New systems should use netavark by default, to check what backed is used run podman info --format {{.Host.NetworkBackend}}.

All network commands work for both backends but CNI and Netavark use different config files so networks have to be created again after a backend change.


CommandMan PageDescription
connectpodman-network-connect(1)Connect a container to a network
createpodman-network-create(1)Create a Podman network
disconnectpodman-network-disconnect(1)Disconnect a container from a network
existspodman-network-exists(1)Check if the given network exists
inspectpodman-network-inspect(1)Displays the network configuration for one or more networks
lspodman-network-ls(1)Display a summary of networks
prunepodman-network-prune(1)Remove all unused networks
reloadpodman-network-reload(1)Reload network configuration for containers
rmpodman-network-rm(1)Remove one or more networks
updatepodman-network-upate(1)Update an existing Podman network

See Also

podman(1), containers.conf(5)

Referenced By

podman(1), podman-network-connect(1), podman-network-create(1), podman-network-disconnect(1), podman-network-exists(1), podman-network-inspect(1), podman-network-ls(1), podman-network-prune(1), podman-network-reload(1), podman-network-rm(1), podman-network-update(1).