WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platf

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error

 

设置  "experimental": true

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platf

重启docker

用docker version查看,确认是否启动

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platf

 

 然后docker buildx build -t abcde . 

abcde是你自己的镜像名字

然后就可以

docker run --rm abcde

即可运行起来

 

上一篇:maven工程如何在pom.xml文件中建立依赖


下一篇:「简学」Maven