Support multi node builds for OCI
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 682
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 29
Description
Description
Attempting to perform a multiarch build using remote builders and load the resulting image into the local image store.
e.g. docker buildx bake --builder remote --set '*.platform=linux/arm64,linux/amd64' --load
The local docker daemon is using the experimental containerd-snapshotter feature.
The remote builder has two nodes, one for each platform:
remote-buildkit remote
amd64 tcp://arm64.tld:1234 running v0.12.0 linux/amd64*, linux/amd64/v2, linux/amd64/v3, linux/amd64/v4, linux/386
arm64 tcp://amd64.tld:1234 running v0.12.0 linux/arm64*
Those builders are running buildkitd (No special configuration)
Trying to run the above command hits https://github.com/docker/buildx/blob/master/build/build.go#L839-L840 however I'm not aware of the historical context why this isn't supported
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in build/build.go around lines 839-840 and reproduce the documented docker buildx bake command with the two-node remote builder and containerd-snapshotter enabled. Trace why multi-platform output with --load is rejected; done means the resulting multi-platform image can be loaded into the local image store without breaking existing builder behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system, cli, devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100