ibuildthecloud / systemd-docker

Wrapper for "docker run" to handle systemd quirks
Apache License 2.0
720 stars 111 forks source link

stopping service/container drops Docker socket file #38

Open onlyjob opened 8 years ago

onlyjob commented 8 years ago

On Debian when I systemctl stop container service it removes Docker socket /var/run/docker.sock which makes communication with Docker daemon impossible:

# docker ps
  dial unix /var/run/docker.sock: connect: no such file or directory.
  * Is your docker daemon up and running?

I can re-create socket file using systemctl restart docker.socket but it is quite inconvenient...

onlyjob commented 8 years ago

Possibly related to https://github.com/docker/docker/issues/7087