Build Multi-Platform Docker Images
Containers share the host kernel, which means that the code that’s running inside the container must be compatible with the host’s architecture. This is why you can’t run a linux/amd64 container on an arm64 host (without using emulation), or a Windows container on a Linux host.