Setting The Default Image Platform
If you’re on a ARM based machine, such an Mx Mac, and you need to build Docker images, for an x86 machine, you can do so by setting DOCKER_DEFAULT_PLATFORM:
export DOCKER_DEFAULT_PLATFORM=linux/amd64If you’re on a ARM based machine, such an Mx Mac, and you need to build Docker images, for an x86 machine, you can do so by setting DOCKER_DEFAULT_PLATFORM:
export DOCKER_DEFAULT_PLATFORM=linux/amd64