Docker Community Forums

Share and learn in the Docker community.

Docker installation on Ubuntu 12.04 - can't connect to daemon


(Slind) #1

Hey,

I tried to install docker on an ubuntu 12.04 system following the official documentation here
https://docs.docker.com/installation/ubuntulinux/#for-precise-1204-lts (including the reboot) and here
https://docs.docker.com/installation/ubuntulinux/#installing-docker-on-ubuntu

Unfortunately this ended up with FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

$ docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): linux/amd64
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

.

$ docker info
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

Any help is greatly appreciated


(Andy Rothfusz) #2

Is your user a member of the docker group? Do you have the same problem when you run sudo docker info?


(Slind) #3

those commands are run as admin. so, yes.
I figured the issue out later on but forgot to update here. I ended up trying to delete the aufs/layers directory which solved the issue.


(Ralph Kincade) #4

interesting , so you DID delete aufs/layers???