-
Notifications
You must be signed in to change notification settings - Fork 1.3k
OSX: Cannot connect to the Docker daemon. #606
Comments
what does |
Hey @SvenDowideit, here's the output:
Thanks |
Same here. It was working smoothly on v1.2.0 |
Let me add some more details: I was able to replicate this on three different Macs, coming from a fresh install. Any idea how I can help solve this? nmap reports the port being open, however connecting in there gives nothing back. |
@aaronfay what does mm, and what does |
For me the problem were two:
|
Hey @SvenDowideit, here's the output from those commands. I've added a
|
I have the same trouble as you have.
|
The same thing here. Initially I thought this issue might be related to the Kitematic
|
Same here with 1.3.1. However I cannot ping the 103 interface either. "boot2docker ssh docker ps" works however. Hack: alias docker='boot2docker ssh docker' |
That alias hack above does actually work, however it does not work with Chef's |
Ok, so an update on this issue. I use iTerm2, which is where I'm having the problem specifically. When I run the Copying everything that's run verbatim from the boot2docker terminal into my custom terminal appears to solve the issue (I've left out the
With that I get a functional docker client:
Hope that helps anyone else. EDIT I've also cleared out some environment variables and an alias to the |
None of the above things worked for me, however, I did find that when I go to Virtualbox Preferences => Network => Host Only Networks, then delete both vboxnet0 and vboxnet1, then re-add them, everything worked. Note, I ran |
Thanks @Kris-Law, the above suggestion worked for me too. New remote member to my team, who needed to install our dev env, and the latest B2D doesn't seem to work, without the steps above :-/ Anyway, the boot2docker delete, remove Network Only Hosts, and then B2D init and B2D up worked! +1 for that, without that post I'd have had a nightmare doing this remotely. |
@tianon perhaps we should delete any host only networks that are attached to our vm when we do a |
Some of the issues with a colleague using the latest Boot2docker were actually with using Fig, and the update to TLS with Boot2docker was initially problematic. I think the dust has begun to settle, but there should be some way of pinning the stack to a specific version? Node, Meteor and a number of other projects have simple ways of selecting versions for production projects and hard-coding that into the app. Is there any way we could look at a command line flag, that can replace the version, so we can avoid issues of a stack not working on a new install? Not all developers in the team, are dealing with Docker directly, and troubleshooting isn't always the easiest. |
@Kris-Law fix also worked for me! |
@SamMorrowDrums Your fix does not re-add the Host Only Networks back and this is what worked for me; they are automatically recreated by VirtualBox! |
@frosenberg has a method that works for me: |
FWIW boot2docker was working just fine for me, then I tried to build some images with |
Hello,
I've followed the download instructions for
boot2docker
1.3.0, installed using the package, and followed the command line instructions:When I run
boot2docker
from Applications (where it opens it's own terminal) it seems to work fine, but I cannot connect to the docker daemon from my custom terminal.The text was updated successfully, but these errors were encountered: