Skip to content

build: Fix iidfile for containerd-backed Docker driver#3952

Merged
crazy-max merged 1 commit into
docker:masterfrom
vvoland:fix-iidfile
Jul 15, 2026
Merged

build: Fix iidfile for containerd-backed Docker driver#3952
crazy-max merged 1 commit into
docker:masterfrom
vvoland:fix-iidfile

Conversation

@vvoland

@vvoland vvoland commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Images loaded into Docker's containerd image store are identified by their manifest or index digest, while the legacy graphdriver store uses the config digest.

buildx prefers containerimage.config.digest when the Moby exporter returns both digests.
Some exporter responses still produce a usable iidfile, but affected builds, such as those with attestations disabled, write a config digest that Docker image commands cannot resolve.

Expose the Docker driver's image-store mode as a feature and set prefer-image-digest for containerd-backed Moby exports.

Images loaded into Docker's containerd image store are identified by
their manifest or index digest, while the legacy graphdriver store uses
the config digest.

buildx prefers containerimage.config.digest when the Moby exporter
returns both digests.
Some exporter responses still produce a usable iidfile, but affected
builds, such as those with attestations disabled, write a config digest
that Docker image commands cannot resolve.

Expose the Docker driver's image-store mode as a feature and set
prefer-image-digest for containerd-backed Moby exports.

Signed-off-by: Paweł Gronowski <git@grono.dev>
@crazy-max crazy-max added this to the v0.36.0 milestone Jul 15, 2026
@crazy-max crazy-max merged commit 5633720 into docker:master Jul 15, 2026
160 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants