docker容器配置加速器

1.编辑docker配置文件

vi /etc/docker/daemon.json
加入以下配置:
{"registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]}

该连接为中科大加速器地址,无需注册。nginx

2. 执行命令生效

systemctl daemon-reload systemctl restart docker
相关文章
相关标签/搜索