From
https://github.com/docker/compose/issues/88
You need to follow https://docs.docker.com/installation/ubuntulinux/ first
[code:1:133008708c]1) Change the DOCKER_OPTS in /etc/default/docker to:
DOCKER_OPTS=”-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock”
2) Restart docker
sudo restart docker
3) Make sure that docker is running on localhost:4243
$ netstat -ant |grep 4243
tcp 0 0 127.0.0.1:4243 0.0.0.0:* LISTEN
4) Set DOCKER_HOST (.bashrc)
export DOCKER_HOST=tcp://localhost:4243
$ echo $DOCKER_HOST
tcp://localhost:4243 [/code:1:133008708c]
and ..
Reboot
Leave a Reply