diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-08 09:50:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 09:50:50 -0500 |
commit | c32913d0a34def9fd3775ccf7dcef631942ee2b9 (patch) | |
tree | 8c624518b9b9b5e97bbc2a3fedba901660684a86 /docs | |
parent | 2aaf631586e82192e6b7b992e6b5c8717eb792d7 (diff) | |
parent | 91ea3fabd625a891487cd0d9b130ac71366ecb74 (diff) | |
download | podman-c32913d0a34def9fd3775ccf7dcef631942ee2b9.tar.gz podman-c32913d0a34def9fd3775ccf7dcef631942ee2b9.tar.bz2 podman-c32913d0a34def9fd3775ccf7dcef631942ee2b9.zip |
Merge pull request #9236 from baude/networkprune
add network prune
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-network-prune.1.md | 31 | ||||
-rw-r--r-- | docs/source/markdown/podman-network.1.md | 1 | ||||
-rw-r--r-- | docs/source/network.rst | 2 |
3 files changed, 34 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-network-prune.1.md b/docs/source/markdown/podman-network-prune.1.md new file mode 100644 index 000000000..af0a7295d --- /dev/null +++ b/docs/source/markdown/podman-network-prune.1.md @@ -0,0 +1,31 @@ +% 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> diff --git a/docs/source/markdown/podman-network.1.md b/docs/source/markdown/podman-network.1.md index 3ad37b8bf..885c957b6 100644 --- a/docs/source/markdown/podman-network.1.md +++ b/docs/source/markdown/podman-network.1.md @@ -19,6 +19,7 @@ The network command manages CNI networks for Podman. | exists | [podman-network-exists(1)](podman-network-exists.1.md) | Check if the given network exists | | inspect | [podman-network-inspect(1)](podman-network-inspect.1.md) | Displays the raw CNI network configuration for one or more networks | | ls | [podman-network-ls(1)](podman-network-ls.1.md) | Display a summary of CNI networks | +| prune | [podman-network-prune(1)](podman-network-prune.1.md) | Remove all unused networks | | reload | [podman-network-reload(1)](podman-network-reload.1.md) | Reload network configuration for containers | | rm | [podman-network-rm(1)](podman-network-rm.1.md) | Remove one or more CNI networks | diff --git a/docs/source/network.rst b/docs/source/network.rst index b5829876e..eb0c2c7f9 100644 --- a/docs/source/network.rst +++ b/docs/source/network.rst @@ -13,6 +13,8 @@ Network :doc:`ls <markdown/podman-network-ls.1>` network list +:doc:`prune <markdown/podman-network-prune.1>` network prune + :doc:`reload <markdown/podman-network-reload.1>` network reload :doc:`rm <markdown/podman-network-rm.1>` network rm |