Linux教程

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

重启docker

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

 

 然后docker buildx build -t abcde . 

abcde是你自己的镜像名字

然后就可以

docker run --rm abcde

即可运行起来

 

这篇关于WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platf的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!