报错:Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
执行命令:
rm -rf /var/lib/docker/
vim /etc/docker/daemon.json
# 添加如下内容
{
"graph": "/mnt/docker-data",
"storage-driver": "overlay"
}
重启服务:
systemctl restart docker
查看是否正常启动:
systemctl status docker
原文链接:https://blog.csdn.net/weixin_38883338/article/details/88380614