mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
beb71323b1
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>
46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
% PODMAN(1) Podman Man Pages
|
|
% Brent Baude
|
|
% December 2018
|
|
# NAME
|
|
podman-image-prune - Remove all unused images
|
|
|
|
# SYNOPSIS
|
|
**podman image prune** [*-a*|*--all*] [*-h*|*--help*]
|
|
|
|
# DESCRIPTION
|
|
**podman image prune** removes all dangling images from local storage. With the `all` option,
|
|
you can delete all unused images. Unused images are dangling images as well as any image that
|
|
does not have any containers based on it.
|
|
|
|
## OPTIONS
|
|
**--all, -a**
|
|
|
|
Remove dangling images and images that have no associated containers.
|
|
|
|
## Examples ##
|
|
|
|
Remove all dangling images from local storage
|
|
```
|
|
$ sudo podman image prune
|
|
f3e20dc537fb04cb51672a5cb6fdf2292e61d411315549391a0d1f64e4e3097e
|
|
324a7a3b2e0135f4226ffdd473e4099fd9e477a74230cdc35de69e84c0f9d907
|
|
```
|
|
|
|
Remove all unused images from local storage
|
|
```
|
|
$ sudo podman image prune -a
|
|
f3e20dc537fb04cb51672a5cb6fdf2292e61d411315549391a0d1f64e4e3097e
|
|
324a7a3b2e0135f4226ffdd473e4099fd9e477a74230cdc35de69e84c0f9d907
|
|
6125002719feb1ddf3030acab1df6156da7ce0e78e571e9b6e9c250424d6220c
|
|
91e732da5657264c6f4641b8d0c4001c218ae6c1adb9dcef33ad00cafd37d8b6
|
|
e4e5109420323221f170627c138817770fb64832da7d8fe2babd863148287fca
|
|
77a57fa8285e9656dbb7b23d9efa837a106957409ddd702f995605af27a45ebe
|
|
|
|
```
|
|
|
|
## SEE ALSO
|
|
podman(1), podman-images
|
|
|
|
# HISTORY
|
|
December 2018, Originally compiled by Brent Baude (bbaude at redhat dot com)
|