Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Docker Image Build on Ubuntu: Cannot connect to the Docker daemon

user1187968:

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?


[email protected]:~/workspace$ sudo service docker start
docker start/running, process 1392
[email protected]:~/workspace$
[email protected]:~/workspace$ sudo docker build .
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[email protected]:~/workspace$
[email protected]:~/workspace$
[email protected]:~/workspace$ sudo service docker stop
stop: Unknown instance:



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Docker Image Build on Ubuntu: Cannot connect to the Docker daemon

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×