Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Getting the above error while running any docker command. When i run the following command
`$ sudo docker info`
_Output_
`Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?`
**None of the docker commands are working. All of them throws same error.**
`$ sudo systemctl status docker`
_Output._
``` ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/docker.service.d └─docker-override.conf Active: inactive (dead) (Result: exit-code) since Mon 2018-07-02 09:27:04 EDT; 1min 2s ago Docs: https://docs.docker.com Process: 23866 ExecStart=/usr/bin/dockerd -H fd:// -s overlay2 --disable-legacy-registry=false(code=exited, status=1/FAILURE) Main PID: 23866 (code=exited, status=1/FAILURE)
Jul 02 09:27:04 cse-bennettuniv systemd[1]: Failed to start Docker Application Container Engine. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Unit entered failed state. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Failed with result 'exit-code'. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Service hold-off time over, scheduling restart. Jul 02 09:27:04 cse-bennettuniv systemd[1]: Stopped Docker Application Container Engine. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Start request repeated too quickly. Jul 02 09:27:04 cse-bennettuniv systemd[1]: Failed to start Docker Application Container Engine.
<br>
<hr>
`$ sudo systemctl status docker.service`<br>
_Output_<br>
● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/docker.service.d └─docker-override.conf Active: inactive (dead) (Result: exit-code) since Mon 2018-07-02 09:27:04 EDT; 10min ago Docs: https://docs.docker.com Process: 23866 ExecStart=/usr/bin/dockerd -H fd:// -s overlay2 --disable-legacy-registry=false (code=exited, status=1/FAILURE) Main PID: 23866 (code=exited, status=1/FAILURE)
Jul 02 09:27:04 cse-bennettuniv systemd[1]: Failed to start Docker Application Container Engine. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Unit entered failed state. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Failed with result 'exit-code'. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Service hold-off time over, scheduling restart. Jul 02 09:27:04 cse-bennettuniv systemd[1]: Stopped Docker Application Container Engine. Jul 02 09:27:04 cse-bennettuniv systemd[1]: docker.service: Start request repeated too quickly. Jul 02 09:27:04 cse-bennettuniv systemd[1]: Failed to start Docker Application Container Engine.
<hr>
`$ sudo systemctl status nvidia-docker`
_Output_<br>
● nvidia-docker.service - NVIDIA Docker plugin Loaded: loaded (/lib/systemd/system/nvidia-docker.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-07-02 08:54:55 EDT; 37min ago Docs: https://github.com/NVIDIA/nvidia-docker/wiki Main PID: 3173 (nvidia-docker-p) Tasks: 10 Memory: 61.8M CPU: 3.739s CGroup: /system.slice/nvidia-docker.service └─3173 /usr/bin/nvidia-docker-plugin -s /var/lib/nvidia-docker
Jul 02 08:54:55 cse-bennettuniv systemd[1]: Starting NVIDIA Docker plugin... Jul 02 08:54:55 cse-bennettuniv systemd[1]: Started NVIDIA Docker plugin. Jul 02 08:54:55 cse-bennettuniv nvidia-docker-plugin[3173]: /usr/bin/nvidia-docker-plugin | 2018/07/02 08:54:55 Loading NVIDIA unified memory Jul 02 08:54:55 cse-bennettuniv nvidia-docker-plugin[3173]: /usr/bin/nvidia-docker-plugin | 2018/07/02 08:54:55 Loading NVIDIA management library Jul 02 08:54:55 cse-bennettuniv nvidia-docker-plugin[3173]: /usr/bin/nvidia-docker-plugin | 2018/07/02 08:54:55 Discovering GPU devices Jul 02 08:54:59 cse-bennettuniv nvidia-docker-plugin[3173]: /usr/bin/nvidia-docker-plugin | 2018/07/02 08:54:59 Provisioning volumes at /var/lib/nvidia-docker/volumes Jul 02 08:54:59 cse-bennettuniv nvidia-docker-plugin[3173]: /usr/bin/nvidia-docker-plugin | 2018/07/02 08:54:59 Serving plugin API at /var/lib/nvidia-docker Jul 02 08:54:59 cse-bennettuniv nvidia-docker-plugin[3173]: /usr/bin/nvidia-docker-plugin | 2018/07/02 08:54:59 Serving remote API at localhost:3476
<hr>
When I run the following comman...<br>
$ sudo service docker restart<br>
_Output_<br>
`Job for docker.service failed because the control process exited with error code. See _"systemctl status docker.service"_ and _"journalctl -xe"_ for details.`<br>
<hr>
I have already run the _"systemctl status docker.service"_ and I also run the _"journalctl -xe"_ command to understand whats the problem but I was unable to find one. (I am attaching the txt file of the outpot theown by _"journalctl -xe"_ command)[journalctl.txt](https://github.com/NVIDIA/nvidia-docker/files/2157941/journalctl.txt)
<hr>
<h1> Please some one help me with this.</h1>