Created
August 14, 2014 12:16
-
-
Save rusllonrails/94d95328a7360d843e52 to your computer and use it in GitHub Desktop.
UBUNTU DOCKER FIG ERROR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FIX FOR: Couldn't connect to Docker daemon at http+unix://var/run/docker.sock - is it running? | |
Change the DOCKER_OPTS in /etc/default/docker to: | |
DOCKER_OPTS="-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock" | |
Ruslan Khamidullin [1:57 PM] netstat -ant |grep 4243 | |
tcp 0 0 127.0.0.1:4243 0.0.0.0:* LISTEN | |
Ruslan Khamidullin [1:57 PM] export DOCKER_HOST=tcp://localhost:4243 | |
Ruslan Khamidullin [1:58 PM] $ echo $DOCKER_HOST | |
tcp://localhost:4243 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to run
sudo service docker restart
before thenetstat
command and everything else worked.