开启梯子才能访问拉取镜像,两个镜像版本仓库查询地址,仓库地址一,仓库地址二
可以在仓库中查看最新的版本,查看支持的架构有那些,和拉取镜像,有时候latest拉取的镜像不一定是最新的,也许是有问题
注意dockerDesktop不需要登录账号密码,不然拉取镜像会提醒账号或者密码错误
修改dockerDesktop配置,将experimental的值设置成 true,意思是:开启manifest实验特性
重启docker后下载镜像
–platform=后面就是架构版本,x86,amd64,arm64
C:\Users\dell> docker pull --platform=arm64 nginx:latestlatest: Pulling from library/nginxaa6fbc30c84e: Pull completec28fc33dc48c: Pull complete08fb08230766: Pull completed2983a84b0c4: Pull complete9f4e03394720: Pull complete522e88f665e7: Pull completed964500c63bd: Pull completeDigest: sha256:447a8665cc1dab95b1ca778e162215839ccbb9189104c79d7ec3a81e14577addStatus: Downloaded newer image for nginx:latestdocker.io/library/nginx:latestWhat's Next? View summary of image vulnerabilities and recommendations → docker scout quickview nginx:latestC:\Users\dell>