Question: How can I build a multi-arch image distributed #4680
-
I want to build images of different architectures on hosts with different architectures, and then finally combine them into a multi-architecture image. Does BuildKit have a similar solution? |
Beta Was this translation helpful? Give feedback.
Answered by
AkihiroSuda
Feb 22, 2024
Replies: 1 comment 3 replies
-
Like this: docker buildx create --name remote --use
docker buildx create --name remote \
--append ssh://me@my-arm-instance
docker buildx build \
--push -t example.com/hello:latest \
--platform=linux/amd64,linux/arm64 . |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
njucjc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Like this:
docker buildx create --name remote --use docker buildx create --name remote \ --append ssh://me@my-arm-instance docker buildx build \ --push -t example.com/hello:latest \ --platform=linux/amd64,linux/arm64 .
https://medium.com/nttlabs/buildx-multiarch-2c6c2df00ca2