docker Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon runn

来源:互联网 发布:收看地方电视台的软件 编辑:程序博客网 时间:2024/06/05 09:17

Reference:
1. https://stackoverflow.com/questions/37227349/unable-to-start-docker-service-in-ubuntu-16-04
2. http://blog.csdn.net/qq_36763896/article/details/53268085

Program:

Process: 8913 ExecStart=/usr/bin/docker daemon -H fd:// -s overlay (code=exited, status=1/FAILURE)

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Do:
open /etc/systemd/system and remove docker.service.d folder

(因为先前配置了Docker Daemon用OverlayFS启动

sudo mkdir -p /etc/systemd/system/docker.service.d

sudo cat >/etc/systemd/system/docker.service.d/override.conf <

sudo systemctl daemon-reloadsystemctl show --property=ExexStart dockersudo systemctl restart docker

finally this problem is solved.

阅读全文
0 0