Skip to content

docs(build): document local cache reset option - #25961

Open
nielskaspers wants to merge 1 commit into
docker:mainfrom
nielskaspers:docs/issue-25959-local-cache-reset
Open

docs(build): document local cache reset option#25961
nielskaspers wants to merge 1 commit into
docker:mainfrom
nielskaspers:docs/issue-25959-local-cache-reset

Conversation

@nielskaspers

Copy link
Copy Markdown
Contributor

Description

Document the reset attribute for the local cache exporter in the local cache backend reference.

The option was added upstream in moby/buildkit#6612 and is now merged. When reset=true, BuildKit removes blobs in the local cache directory that are not referenced by the current manifests in index.json; the default is false.

Fixes #25959

Validation

  • git diff --check
  • Confirmed the behavior and default against the merged BuildKit implementation and README documentation.

Change notes:\n- content/manuals/build/cache/backends/local.md: document the cache-to reset parameter, default, and cleanup behavior.
@nielskaspers
nielskaspers requested a review from dvdksn as a code owner August 28, 2026 06:04
@netlify

netlify Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 58141fc
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a9124f917a0b8000809a6bf
😎 Deploy Preview https://deploy-preview-25961--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/build Relates to Dockerfiles or docker build command label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

local cache backend should document the "reset" argument for the "cache-to" option

1 participant