Files
podman/docs/source/markdown/podman-network-prune.1.md
Paul Holzinger bc48211924 Fix long option format on docs.podman.io
Escape the two dashes, otherwise they are combined into one long dash.
I tested that this change is safe and still renders correctly on github
and with the man pages.

This commit also contains a small change to make it build locally.
Assuming you have the dependencies installed you can do:
```
cd docs
make html
```
Preview the html files in docs/build/html with
`python -m http.server 8000 --directory build/html`.

Fixes containers/podman.io#373

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2021-03-29 14:38:25 +02:00

32 lines
654 B
Markdown

% 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>