I’m trying to build and deploy my container using:
docker buildx build --platform linux/arm64,linux/amd64 -t "my_container_name" --push .
and I’m getting this error:
[+] Building 0.0s (0/0)
ERROR: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")
However, when I’m running the following separate build and run command, I don’t see any issue:
docker build -t my_container_name .
docker run my_container_name