配置阿里云docker镜像

Posted vipsoft

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了配置阿里云docker镜像相关的知识,希望对你有一定的参考价值。

 技术图片 

技术图片

 技术图片

 

配置好后 重新加载一下 daemon

[root@centos-linux jimmy]# systemctl daemon-reload
[root@centos-linux jimmy]# systemcel restart docker

重启后,docker pull 就会有飞一般的感觉 

 


 

 

如果报错下面的错,可以将 json 改成 .conf

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

 

技术图片

 

解决办法:将 /etc/docker/daemon.json 修改为 /etc/docker/daemon.conf

 

 mv /etc/docker/daemon.json /etc/docker/daemon.conf

 

技术图片

 

以上是关于配置阿里云docker镜像的主要内容,如果未能解决你的问题,请参考以下文章