开启梯子
注意dockerDesktop不需要登录账号密码,不然拉取镜像会提醒账号或者密码错误
修改dockerDesktop配置,将experimental的值设置成 true,意思是:开启manifest实验特性
![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/d456406f553d40ae8d27c9eda8af7b2f.png)
重启docker后下载镜像
–platform=后面就是架构版本,x86,amd64,arm64
C:\Users\dell> docker pull --platform=arm64 nginx:latest
latest: Pulling from library/nginx
aa6fbc30c84e: Pull complete
c28fc33dc48c: Pull complete
08fb08230766: Pull complete
d2983a84b0c4: Pull complete
9f4e03394720: Pull complete
522e88f665e7: Pull complete
d964500c63bd: Pull complete
Digest: sha256:447a8665cc1dab95b1ca778e162215839ccbb9189104c79d7ec3a81e14577add
Status: Downloaded newer image for nginx:latest
docker.io/library/nginx:latest
What's Next?
View summary of image vulnerabilities and recommendations → docker scout quickview nginx:latest
C:\Users\dell>