summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-05-17 11:38:28 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-05-17 13:52:03 +0200
commit2a43fcf786a989862f732c829fa754b881cc8be7 (patch)
treed5efbedcdfde286fd85c4e1ad737891428dd7350 /docs
parent3bdbe3ce969ac510b8d4ee44da4578da9fed659c (diff)
downloadpodman-2a43fcf786a989862f732c829fa754b881cc8be7.tar.gz
podman-2a43fcf786a989862f732c829fa754b881cc8be7.tar.bz2
podman-2a43fcf786a989862f732c829fa754b881cc8be7.zip
image prune: remove unused images only with `--all`
Fix a regression in `podman image prune` where unused images were accidentally removed even when `--all=false`. Extend and partially rewrite the e2e tests to make sure we're not regressing again in the future. Fixing the aforementioned issue revealed another issue in the default prune filter. While prune should remove all "dangling" images (i.e., those without tag), it removed only "intermediate" ones; dangling images without children. Remove the mistaken comment from the libimage migration. Also clarify the help message and man page. Fixes: #10350 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-image-prune.1.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/source/markdown/podman-image-prune.1.md b/docs/source/markdown/podman-image-prune.1.md
index 73024ffb8..bd08d18fc 100644
--- a/docs/source/markdown/podman-image-prune.1.md
+++ b/docs/source/markdown/podman-image-prune.1.md
@@ -8,8 +8,7 @@ podman-image-prune - Remove all unused images from the local store
## 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.
+you can delete all unused images (i.e., images not in use by any container).
The image prune command does not prune cache images that only use layers that are necessary for other images.