赞
踩
vim /etc/docker/daemon.json
{
"registry-mirrors": [
"https://docker.registry.cyou"
]
}
[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
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。