当前国内可用的docker加速器搜集
·
1.配置加速器
vim /etc/docker/daemon.json
{
"registry-mirrors": [
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://docker.fxxk.dedyn.io",
"https://docker.xn--6oq72ry9d5zx.cn",
"https://docker.m.daocloud.io",
]
}
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
更多推荐
所有评论(0)