root@bogon:~# docker ps -a Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? root@bogon:~# docker images Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? root@bogon:~# root@bogon:~# root@bogon:~# systemctl status docker.service ● docker.service - LSB: Create lightweight, portable, self-sufficient containers. Loaded: loaded (/etc/init.d/docker; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2019-07-08 10:52:45 CST; 10s ago Docs: man:systemd-sysv-generator(8) Process: 19187 ExecStart=/etc/init.d/docker start (code=exited, status=1/FAILURE)
Jul 08 10:52:45 bogon systemd[1]: Stopped LSB: Create lightweight, portable, self-sufficient containers.. Jul 08 10:52:45 bogon systemd[1]: Starting LSB: Create lightweight, portable, self-sufficient containers.... Jul 08 10:52:45 bogon docker[19187]: * /usr/bin/dockerd not present or not executable Jul 08 10:52:45 bogon systemd[1]: docker.service: Control process exited, code=exited status=1 Jul 08 10:52:45 bogon systemd[1]: Failed to start LSB: Create lightweight, portable, self-sufficient containers.. Jul 08 10:52:45 bogon systemd[1]: docker.service: Unit entered failed state. Jul 08 10:52:45 bogon systemd[1]: docker.service: Failed with result 'exit-code'.
root@bogon:~# root@bogon:~# root@bogon:~# systemctl restart docker.service Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe"for details.