开启梯子
修改dockerDesktop配置,将experimental的值设置成 true,意思是:开启manifest实验特性
重启docker后下载镜像
--platform=后面就是架构版本,x86,amd64,arm64
bash
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>