合作机构:阿里云 / 腾讯云 / 亚马逊云 / DreamHost / NameSilo / INWX / GODADDY / 百度统计
首先编辑daemon.json文件
# vim /etc/docker/daemon.json
在文件中加入以下内容
{
"registry-mirrors":["https://www.feedoo.cn"]
}
重启docker服务
# systemctl restart docker
来测试一下新的仓库源,我们来拉取nginx和tomcat的镜像。
# docker pull nginx
# docker images
# docker pull tomcat
TOP