WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested

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

重启docker

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

 

 然后docker buildx build -t abcde . 

abcde是你自己的镜像名字

然后就可以

docker run --rm abcde

即可运行起来

 

posted @ 2021-09-10 11:26  上下求索,星辰大海  阅读(10099)  评论(4)    收藏  举报