Skip to content

docs: mention build cache in system prune overview - #25742

Open
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:locker95-system-prune-build-cache-manual
Open

docs: mention build cache in system prune overview#25742
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:locker95-system-prune-build-cache-manual

Conversation

@locker95

Copy link
Copy Markdown
Contributor

The “Prune everything” prose only listed images, containers, and networks, while the example warning already includes unused build cache. Spelled that out (and in the page intro) so it matches real behavior, including BuildKit cache mounts.

Related to moby/moby#50141

@locker95
locker95 requested a review from dvdksn as a code owner August 10, 2026 04:49
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 24c67ba
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a7deb63ad58b00008e610bf
😎 Deploy Preview https://deploy-preview-25742--docsdocker.netlify.app
📱 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 10, 2026
The `docker system prune` command is a shortcut that prunes images, containers,
and networks. Volumes aren't pruned by default, and you must specify the
`--volumes` flag for `docker system prune` to prune volumes.
networks, and unused [build cache](/manuals/engine/manage-resources/pruning.md#prune-build-cache)

@dvdksn dvdksn Aug 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see why build cache is linked but the others aren't. I'd be consistent and not add a link here

@locker95

Copy link
Copy Markdown
Contributor Author

fair — dropped the link so it matches the other items in that sentence.

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 force-pushed the locker95-system-prune-build-cache-manual branch from 7ce2a93 to 24c67ba Compare August 13, 2026 16:05
@locker95

Copy link
Copy Markdown
Contributor Author

rebased onto current main — kept the later volume-prune --all wording and just re-applied the build cache notes.

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.

3 participants