mirror of
https://github.com/containers/podman.git
synced 2025-07-28 19:02:48 +08:00

podman-generate and -play had the wrong NAMEs. podman-restart and -volume-prune the wrong SYNOPSIS. All the rest are varying degrees of minor: - missing a space between the NAME and description - multi-line SYNOPSIS that could be collapsed into one - use of UPPER CASE in synopsis instead of *asterisks* - improper use of **double asterisks** for options - varlink and version were transposed in podman-1 - fixed inconsistencies between the description in the man page and that in the parent manpage. These are too numerous for me to fix all. Added: script that could be used in CI to prevent future such inconsistencies. It cannot be enabled yet because there are still 35+ inconsistencies in need of cleaning. This will be difficult to review on github. I suggest pulling the PR and running 'git log -1 -p | cdif | less' 'cdif' is a handy tool for colorizing individual diffs between lines: http://kaz-utashiro.github.io/cdif/ There are other such tools; use your favorite. Comparing without visual highlights may be painful. I also encourage you to run hack/man-page-checker and suggest more fixes for the problems it's finding. Signed-off-by: Ed Santiago <santiago@redhat.com>
31 lines
885 B
Markdown
31 lines
885 B
Markdown
% PODMAN(1) Podman Man Pages
|
|
% Brent Baude
|
|
% December 2018
|
|
# NAME
|
|
podman-container-prune - Remove all stopped containers
|
|
|
|
# SYNOPSIS
|
|
**podman container prune** [*-h*|*--help*]
|
|
|
|
# DESCRIPTION
|
|
**podman container prune** removes all stopped containers from local storage.
|
|
|
|
## Examples ##
|
|
|
|
Remove all stopped containers from local storage
|
|
```
|
|
$ sudo podman container prune
|
|
878392adf2e6c5c9bb1fc19b69d37d2e98c8abf9d539c0bce4b15b46bbcce471
|
|
37664467fbe3618bf9479c34393ac29c02696675addf1750f9e346581636cde7
|
|
ed0c6468b8e1cb641b4621d1fe30cb477e1fefc5c0bceb66feaf2f7cb50e5962
|
|
6ac6c8f0067b7a4682e6b8e18902665b57d1a0e07e885d9abcd382232a543ccd
|
|
fff1c5b6c3631746055ec40598ce8ecaa4b82aef122f9e3a85b03b55c0d06c23
|
|
602d343cd47e7cb3dfc808282a9900a3e4555747787ec6723bb68cedab8384d5
|
|
```
|
|
|
|
## SEE ALSO
|
|
podman(1), podman-ps
|
|
|
|
# HISTORY
|
|
December 2018, Originally compiled by Brent Baude (bbaude at redhat dot com)
|