-
Notifications
You must be signed in to change notification settings - Fork 1.2k
docker-compose in toolbox doesn't work #124
Comments
@aanand any ideas? Can't seem to find much existing info about this. |
Very strange. @SydOps, are you using the standard VirtualBox VM provisioned by Machine as part of the toolbox setup? ping @ehazlett @nathanleclaire - has anything changed about SSL certificates recently or in Toolbox? |
Hmm not that I'm aware of. @SydOps could you try using the "regenerate-certs" and in machine to see if that helps? This can happen if the IP changes but usually it's a different error. |
No fix.
|
What does echo $DOCKER_HOST and echo $DOCKER_CERT_PATH report? On Tuesday, September 1, 2015, Bill W notifications@github.com wrote:
|
|
Thanks! And what about "docker-machine ls" On Tue, Sep 1, 2015 at 11:18 PM, Bill W notifications@github.com wrote:
|
Had the same issue as @SydOps. Fixed it by adding "192.168.99.100" to no_proxy environment variable. |
@SydOps There are proxy settings for your host machine where you run docker-compose from and then there are proxy settings established within the guest (boot2docker) VM. The proxy settings on the guest are irrelevant because the communication break is happening between host machine and guest VM (192.168.99.100). Here's my lame attempt at an ascii illustration: communication path without no_proxy set correctly: communication path with no_proxy set correctly: You can set the no_proxy environment variable in your .profile file (on your host machine) to make it "permanent". |
I just had this same error while running To help any future Googlers, here's the steps I followed stated as explicitly as possible:
I still don't understand how to use Docker, but this at least got me one step closer to figuring it out! |
@georgemillo If you want to do it one fell swoop you can do this:
for example:
The one thing to be careful here is that if you already have something in NO_PROXY, this will overwrite it. If you do already have a NO_PROXY value established, you would want to do this instead:
Also, not sure if you've tried to search for container images (docker search) or tried to pull or run containers but since its obvious you are behind a proxy, you may at some point find this StackOverflow question useful. |
Thanks for the help. My issue was fixed with NO_PROXY setting. To: all: Will I accept this as solution, or I keep it open until Docker to fix in toolbox? |
... ah yes, of course. The reason I was having these problems in the first place was because I was behind a VPN (in my case Hotspot Shield.) After turning off Hotspot Shield, I either need more caffeine or less, not sure which... |
While using the NO_PROXY environment variable fixes it, I will say I think the error message that started this issue is fairly misleading. It is true that there is an "SSL error" but it is overly-presumptuous because the real issue is a general lack of connectivity from the docker-compose client to the docker daemon running on the boot2docker vm. Maybe closing this issue and opening a new one to make the error message more generic is warranted here? |
The only working way i found is defining $> export NO_PROXY=$DOCKER_IP where DOCKER_IP is the address of default docker-machine, in my case 192.168.99.100 |
FYI folks, |
Run any docker-compose command, got below ssl error.
docker-compose was installed by docker toolbox. I didn't have this issue before when run docker-compose directly.
The text was updated successfully, but these errors were encountered: