「Docker」M1 Pro 打包docker image问题合集

  • 运行docker 遇到 The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v4) and no specific platform was requested

说明打包的镜像没有 linux/amd64

解决方案:重新打包镜像

docker buildx build  --platform linux/amd64   -t xx/xx:16  .

猜你喜欢

转载自blog.csdn.net/qq_45704048/article/details/132654601