compose: Fig can't connect to DOCKER_HOST=tcp://
On OS X with boot2docker
0.5.4:
$ docker version
Client version: 0.8.0
Go version (client): go1.2
Git commit (client): cc3a8c8
Server version: 0.8.0
Git commit (server): cc3a8c8
Go version (server): go1.2
$ ~/bin/boot2docker up
[2014-02-10 21:58:12] boot2docker-vm is already running.
$ echo $DOCKER_HOST
tcp://
$ fig --version
fig 0.2.1
$ fig up
Couldn't connect to Docker daemon at http:/ - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
docker build .
worked fine for me, but fig
seems unable to handle the tcp://
URL.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 54 (8 by maintainers)
Commits related to this issue
- Merge pull request #88 from rakyll/more-main-dont-export containerd: do not export any symbols — committed to xulike666/compose by crosbymichael 8 years ago
@gregory Found the solution.
NOTE, I have:
Thanks to http://serverascode.com/2014/05/25/docker-shipyard-multihost.html
should help (Ubuntu 14.04)
I had the same error, after 15 min of debugging. Turns out all it needs is a
sudo
😃 Check out [Create a Docker group] here https://docs.docker.com/engine/installation/linux/ubuntulinux/ to get rid of the sudo prefix.This helped me: If you would like to use Docker as a non-root user, you should now consider adding your user to the “docker” group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
Hey folks, I just found that doing
fig up
withoutsudo
resulted in this message whereassudo fig up
did the job. Just wanted to mention to eventually save some of you some head-scratching…