docker中配置加速镜像

|▌冷眼眸甩不掉的悲伤 提交于 2020-02-13 13:21:38

在/etc/docker下编辑或新增daemon.json加入以下内容:

vi /etc/docker/daemon.json

{
"registry-mirrors": ["https://123abc.mirror.aliyuncs.com"]
}

systemctl daemon-reload
systemctl restart docker

参考链接:https://www.cnblogs.com/hackyo/p/9613465.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!