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

Linux下Docker添加国内镜像源 #5

Open
bininc opened this issue Jun 2, 2020 · 0 comments
Open

Linux下Docker添加国内镜像源 #5

bininc opened this issue Jun 2, 2020 · 0 comments

Comments

@bininc
Copy link
Owner

bininc commented Jun 2, 2020

Docker安装好后,/etc/目录下会会有docker文件夹,默认里面只有一个key.json
我们需要添加一个daemon.json内容如下:

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

下面是几个源:
Docker中国区官方镜像
https://registry.docker-cn.com

网易
http://hub-mirror.c.163.com

中国科技大学
https://docker.mirrors.ustc.edu.cn

阿里云容器 服务
https://cr.console.aliyun.com/
首页点击“创建我的容器镜像” 得到一个专属的镜像加速地址,类似于“https://1234abcd.mirror.aliyuncs.com”

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