Skip to content

docs: system prune default keeps unused tagged images - #25820

Merged
dvdksn merged 1 commit into
docker:mainfrom
santhiprakash:system-prune-dangling-images
Aug 13, 2026
Merged

docs: system prune default keeps unused tagged images#25820
dvdksn merged 1 commit into
docker:mainfrom
santhiprakash:system-prune-dangling-images

Conversation

@santhiprakash

Copy link
Copy Markdown
Contributor

Summary

The "Prune everything" section said that by default docker system prune removes all unused images. On Docker 29.1.3 the default confirmation only lists dangling images; unused tagged images stay unless you pass -a / --all.

Corrected that sentence. Did not change the example command to include -a (that was the stale approach in closed #17488).

@netlify /engine/manage-resources/pruning/

Generated by Grok.

- Problem: the prune-everything section said the default removes all unused images. Live docker system prune only removes dangling images unless -a is passed.
- Fix: say unused containers/networks plus dangling images by default, and that unused tagged images need -a/--all.
- Verification: docker 29.1.3 — default warning lists "all dangling images"; docker system prune -a lists "all images without at least one container associated to them". Closed docker#17488 wanted to change the example to include -a and went stale; this only corrects the default-behavior sentence.
@santhiprakash
santhiprakash requested a review from dvdksn as a code owner August 13, 2026 14:46
@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit a1ed7bd
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a7dd8b45e6531000837c22f
😎 Deploy Preview https://deploy-preview-25820--docsdocker.netlify.app/engine/manage-resources/pruning/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/engine Issue affects Docker engine/daemon label Aug 13, 2026
@dvdksn
dvdksn merged commit 68474e5 into docker:main Aug 13, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine Issue affects Docker engine/daemon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants