Skip to content

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

Open
vvoland wants to merge 1 commit into
docker:masterfrom
vvoland:fix-iidfile
Open

build: Fix iidfile for containerd-backed Docker driver#3952
vvoland wants to merge 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>
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.

2 participants