docs: mention build cache in system prune overview - #25742
Open
locker95 wants to merge 1 commit into
Open
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
vvoland
approved these changes
Aug 10, 2026
dvdksn
reviewed
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) |
Contributor
There was a problem hiding this comment.
I don't see why build cache is linked but the others aren't. I'd be consistent and not add a link here
Contributor
Author
|
fair — dropped the link so it matches the other items in that sentence. |
Signed-off-by: Dean Chen <862469039@qq.com>
locker95
force-pushed
the
locker95-system-prune-build-cache-manual
branch
from
August 13, 2026 16:05
7ce2a93 to
24c67ba
Compare
Contributor
Author
|
rebased onto current main — kept the later volume-prune --all wording and just re-applied the build cache notes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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