# Cannot connect to the Docker daemon

**URL:** <https://forums.suse.com/t/cannot-connect-to-the-docker-daemon/3532>\
**Category:** RancherOS\
**Created:** [July 26, 2016, 11:07am UTC](https://forums.suse.com/t/cannot-connect-to-the-docker-daemon/3532 "2016-07-26T11:07:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yefryf](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yefryf/32/1484_2.png) [@yefryf](https://forums.suse.com/u/yefryf)\
**Post date:** [July 26, 2016, 11:07am UTC](https://forums.suse.com/t/cannot-connect-to-the-docker-daemon/3532/1 "2016-07-26T11:07:41Z")

</div>

After restating one of the 3 nodes on our HA setup, docker not starts well and remain in restating status.

from `docker ps` I get:  
_Cannot connect to the Docker daemon. Is the docker daemon running on this host?_

from `system-docker ps`, the docker container always it remains in restarting status.

I already tried to solve restarting the node, restarting the container, _system-docker stop/start container_, etc., but the problem persists.

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/b/b8015e49f6fbcd6e8342333a433dee9eb8646d5b.png)

Can you please help me to understand where is the issue?

Thanks,

---

<div class="post-metadata">

**Author:** ![joshwget](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joshwget/32/704_2.png) [@joshwget](https://forums.suse.com/u/joshwget)\
**Post date:** [July 26, 2016, 5:42pm UTC](https://forums.suse.com/t/cannot-connect-to-the-docker-daemon/3532/2 "2016-07-26T17:42:33Z")

</div>

Can you post the output of `system-docker logs docker` and `/var/log/docker.log`? Do you use any custom arguments or settings for Docker?

---

<div class="post-metadata">

**Author:** ![yefryf](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yefryf/32/1484_2.png) [@yefryf](https://forums.suse.com/u/yefryf)\
**Post date:** [July 27, 2016, 8:08am UTC](https://forums.suse.com/t/cannot-connect-to-the-docker-daemon/3532/3 "2016-07-27T08:08:25Z")

</div>

Below the outputs:

`system-docker logs docker`

time=“2016-07-27T01:29:49Z” level=info msg=“Starting Docker in context: console”  
time=“2016-07-27T01:29:49Z” level=info msg=“Getting PID for service: console”  
time=“2016-07-27T01:29:49Z” level=info msg=“console PID 546”  
time=“2016-07-27T01:29:49Z” level=info msg=“Docker PID 3100”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/systemd/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/memory/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/blkio/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/cpu,cpuacct/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/cpuset/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/perf\_event/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/net\_cls,net\_prio/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/freezer/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Moving Docker to cgroup /host/sys/fs/cgroup/devices/docker/0a9ee98b470c042cb2c12dfb965b127c70c5e6642b20e572400fcfec53e0461d”  
time=“2016-07-27T01:29:49Z” level=info msg=“Running [/usr/sbin/docker-init daemon --log-opt max-size=25m --log-opt max-file=2 -s overlay -G docker -H unix:///var/run/docker.sock]”

`/var/log/docker.log`

time=“2016-07-27T08:06:05.220509537Z” level=info msg=“Graph migration to content-addressability took 0.00 seconds”  
time=“2016-07-27T08:06:05.268467656Z” level=fatal msg=“Error starting daemon: Error initializing network controller: could not delete the default bridge network: network bridge has active endpoints”

> Do you use any custom arguments or settings for Docker?

No, I’m using all default RancherOS settings.
