build: document driver and image store support for attestations - #25682
Open
davidpavlovschi wants to merge 1 commit into
Open
build: document driver and image store support for attestations#25682davidpavlovschi wants to merge 1 commit into
davidpavlovschi wants to merge 1 commit into
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Description
The build attestations page states that "All BuildKit exporters support attestations", but never mentions that the default
dockerdriver rejects attestations while the daemon still uses the classic image store. That combination is what Docker Engine 29 errors on, and the error'sLearn morelink (/go/attestations/, mapped to/build/attestations/indata/redirects.yml:222-223) lands on exactly this page, which today has no answer.This adds a
Driver and image store supportsubsection underCreating attestationsincontent/manuals/build/metadata/attestations/_index.md:dockerdriver on the classic image store, the build fails; the exact engine error string is quoted./manuals/desktop/features/containerd.mdand/manuals/engine/storage/containerd.md.docker,docker-container,kubernetesandremote).docker-container,kubernetes, andremoterun BuildKit outside the daemon, that--pushkeeps attestations, and that--loadruns into the same image store requirement.--provenance=false --sbom=false).The
local/tarexporter behavior is already covered underStorage, so that section is untouched. One file changed, 33 insertions, no deletions.Sources
Both claims are already documented elsewhere in this repository and are reused verbatim rather than invented:
content/manuals/desktop/features/containerd.md(Classic image store): "It doesn't support image indices or manifest lists, so you can't load multi-platform images locally or build images with attestations."content/manuals/dhi/how-to/scan.md:225: "Without the containerd image store, Docker Engine rejects the build with:Attestation is not supported for the docker driver. Switch to a different driver, or turn on the containerd image store, and try again." — the error text in the new section is copied from this in-repo string, matching the one in the issue report.content/manuals/build/builders/drivers/_index.md("docker: uses the BuildKit library bundled into the Docker daemon").Validation
markdownlint-cli@0.45.0(the version pinned in the repoDockerfilelint stage) on the changed file: 0 issues.vale3.16.0 with the repo's.vale.iniand_vale/styles on the changed file: 0 errors, 0 warnings, 0 suggestions.prettier@3.8.1(repo-pinned version) check on the changed file: passes, formatting unchanged elsewhere in the file.content/manuals/desktop/features/containerd.md,content/manuals/engine/storage/containerd.md.Related issues or tickets
Fixes #25599
Reviews