There are errors when we build a docker image on Linux and then try to use it on Mac. This describes the problem well: https://stackoverflow.com/questions/73253352/docker-exec-bin-sh-exec-format-error-on-arm64. Let's try docker buildx instead of docker build, so that we can build docker images targetting multiple platforms.
There are errors when we build a docker image on Linux and then try to use it on Mac. This describes the problem well: https://stackoverflow.com/questions/73253352/docker-exec-bin-sh-exec-format-error-on-arm64. Let's try
docker buildxinstead ofdocker build, so that we can build docker images targetting multiple platforms.