Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can build multiplatform images for x86 and ARM (e.g. M1 Mac) like so:

docker buildx build --platform linux/amd64,linux/arm64 .

I constantly use buildx to build x86 images on my M1 so that I can run these images in my x86 Kubernetes cluster.

https://docs.docker.com/buildx/working-with-buildx/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: