I am running Ubuntu 14 in codeanywhere.com, and I'm getting "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?" error when I try to build the docker image.
Also, when I try to stop docker, I'm getting "stop: Unknown instance:", looks like Docker never got started.
How should I fix this problem?
cabox@box-codeanywhere:~/workspace$ sudo service docker start
docker start/running, process 1392
cabox@box-codeanywhere:~/workspace$
cabox@box-codeanywhere:~/workspace$ sudo docker build .
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
cabox@box-codeanywhere:~/workspace$
cabox@box-codeanywhere:~/workspace$
cabox@box-codeanywhere:~/workspace$ sudo service docker stop
stop: Unknown instance: