Category: Software, Kubernetes, Docker, Architecture, apple, shell

There are some important changes happening in the software industry. In order to build multi-platform container images, we will use the docker buildxcommand.

docker buildx create --use # building an image for two platforms docker buildx build --platform=linux/amd64,linux/arm64. When building a multi-platform image from a Dockerfile, effectively your Dockerfile gets built once for each platform.

It does this by running the binary through a software emulator instead of doing so directly.

Related Articles