docker配置镜像加速后报错 系统 CentOS7

参考菜鸟教程配置的却报错

docker配置镜像加速后报错   系统 CentOS7

报错

[root@VM_0_14_centos ~]# sudo systemctl start docker
Job for docker.service failed because start of the service was attempted too often. See "systemctl status docker.service" and "journalctl -xe" for details.
To force a start use "systemctl reset-failed docker.service" followed by "systemctl start docker.service" again.

查看

[root@VM_0_14_centos ~]# cd /etc/docker
[root@VM_0_14_centos docker]# ls
daemon.json key.json

解决方法

将daemon.json改为daemon.conf

mv daemon.json  daemon.conf

重新启动

systemctl restart docker

查看版本

docker配置镜像加速后报错   系统 CentOS7

 

上一篇:NAND驱动


下一篇:docker(4)解决pull镜像速度缓慢