admin管理员组

文章数量:1530030

运行docker镜像时,报错:
(1)

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

原因:

dockers镜像的系统架构类型和主机(虚拟机)的系统架构类型不一样

解决办法:

docker可以通过--platform = <系统架构>命令获取指定系统架构的镜像

可以通过uname -m命令查看主机(虚拟机)的系统架构,或者根据上面的报错提示

因为这里报错提示是linux/386,所以只要在拉取镜像命令加入 --platform linux/386

本文标签: 镜像报错解决办法warningDocker