「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  .

你可能感兴趣的:(网站部署,docker,容器,运维)