1.配置加速器
vim /etc/docker/daemon.json

{
  "registry-mirrors": [

"http://hub-mirror.c.163.com",

"https://docker.mirrors.ustc.edu.cn",

"https://docker.1panel.dev",

"https://docker.fxxk.dedyn.io",

"https://docker.xn--6oq72ry9d5zx.cn",

"https://docker.m.daocloud.io",

"https://a.ussh.net",


  ]
}
1
2
3
4
5
2.实测结果:
[root@localhost ~]# docker pull mysql
Using default tag: latest
latest: Pulling from library/mysql
......
Digest: sha256:9ceea965bd96a49b4299b8515fd92c3dc8ab26f34563795a350aae422985ea91
Status: Downloaded newer image for mysql:latest
docker.io/library/mysql:latest
[root@localhost ~]# docker images              
REPOSITORY   TAG       IMAGE ID       CREATED       SIZE
mysql        latest    d1a6bffb6c99   4 weeks ago   586MB

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐