mirror of
https://github.com/containers/podman.git
synced 2025-06-02 02:26:52 +08:00

add the ability to prune unused cni networks. filters are not implemented but included both compat and podman api endpoints. Fixes :#8673 Signed-off-by: baude <bbaude@redhat.com>
652 B
652 B
% podman-network-prune(1)
NAME
podman-network-prune - Remove all unused networks
SYNOPSIS
podman network prune [options]
DESCRIPTION
Remove all unused networks. An unused network is defined by a network which has no containers connected or configured to connect to it. It will not remove the so-called default network which goes by the name of podman.
OPTIONS
--force, -f
Do not prompt for confirmation
EXAMPLE
Prune networks
podman network prune
SEE ALSO
podman(1), podman-network(1), podman-network-remove(1)
HISTORY
February 2021, Originally compiled by Brent Baude bbaude@redhat.com