Skip to content

containerimage: fix possible race on parallel image create#6477

Merged
crazy-max merged 1 commit intomoby:masterfrom
tonistiigi:fix-image-update
Feb 10, 2026
Merged

containerimage: fix possible race on parallel image create#6477
crazy-max merged 1 commit intomoby:masterfrom
tonistiigi:fix-image-update

Conversation

@tonistiigi
Copy link
Member

When image was (externally or in parallel build request) created in between Update and Create calls, Create can fail.

Handle this case by running Update again.

candidate fix for docker/buildx#3576

When image was (externally or in parallel build request) created
in between Update and Create calls, Create can fail.

Handle this case by running Update again.

Signed-off-by: Tonis Tiigi <[email protected]>
@crazy-max crazy-max added this to the v0.28.0 milestone Feb 10, 2026
@crazy-max crazy-max merged commit 9836771 into moby:master Feb 10, 2026
189 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