今天在centos上安装docker启动失败,报错内容如下
Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
centos内核版本 3.10.0-1160.53.1.el7.x86_64
查看docker启动日志
systemctl status docker.service
进入docker容器目录
cd /etc/docker/
修改配置文件后缀
mv daemon.json daemon.conf
然后重新启动,正常运行
systemctl restart docker