Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于Docker pull 拉取镜像中断问题: #9

Open
flyq opened this issue Oct 21, 2019 · 0 comments
Open

关于Docker pull 拉取镜像中断问题: #9

flyq opened this issue Oct 21, 2019 · 0 comments

Comments

@flyq
Copy link
Member

flyq commented Oct 21, 2019

docker默认的源为国外官方源,下载速度较慢,可改为国内,加速
具体操作:
注:docker文件夹没有daemon.json的新建即可
image
上面图片的文字版:

{
    "registry-mirrors": ["http://hub-mirror.c.163.com"]
}

save保存后退出
重启docker:

systemctl restart docker

image

这样执行这一步时 效率会大幅提高

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant