Skip to content

Pin BuildKit image used for Docker Hub multi-arch builds - #2522

Merged
MuhammadTahaNaveed merged 1 commit into
apache:masterfrom
jrgemignani:fix-dockerhub-buildkit-pin
Aug 19, 2026
Merged

Pin BuildKit image used for Docker Hub multi-arch builds#2522
MuhammadTahaNaveed merged 1 commit into
apache:masterfrom
jrgemignani:fix-dockerhub-buildkit-pin

Conversation

@jrgemignani

Copy link
Copy Markdown
Contributor

The docker-container buildx driver boots moby/buildkit:buildx-stable-1, a moving tag that has advanced to BuildKit v0.32.x. That release bundles runc v1.4.3, which mounts masked-path tmpfs with nr_inodes=1 and is rejected by the Docker Hub build host kernel, so every RUN step fails during container init (opencontainers/runc#5348, fixed in runc 1.4.4).

Pin to v0.31.2, the last BuildKit release predating the runc 1.4.3 bump. Remove the pin once BuildKit ships runc >= 1.4.4.

The docker-container buildx driver boots moby/buildkit:buildx-stable-1,
a moving tag that has advanced to BuildKit v0.32.x. That release bundles
runc v1.4.3, which mounts masked-path tmpfs with nr_inodes=1 and is
rejected by the Docker Hub build host kernel, so every RUN step fails
during container init (opencontainers/runc#5348, fixed in runc 1.4.4).

Pin to v0.31.2, the last BuildKit release predating the runc 1.4.3 bump.
Remove the pin once BuildKit ships runc >= 1.4.4.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the BuildKit image used by the Docker Hub multi-arch buildx docker-container builder to avoid Docker Hub host incompatibilities introduced by the moving moby/buildkit:buildx-stable-1 tag.

Changes:

  • Pin the buildx driver’s BuildKit image to moby/buildkit:v0.31.2.
  • Add an inline comment documenting why the pin exists (runc 1.4.3 masked-path setup failure).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docker/hooks/build
Comment thread docker/hooks/build
@MuhammadTahaNaveed
MuhammadTahaNaveed merged commit 8f16cf5 into apache:master Aug 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants