Docker无法启动Job for docker.service failed
Docker无法启动,报错: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/...
·
Docker无法启动,报错: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
更多推荐
已为社区贡献4条内容
所有评论(0)