-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Daemon not responding yet: dial tcp : operation timed out #76
Comments
I'm getting something similar on mac osx 10.10.4. This worked fine last night on a different mac. it-mbp-wvosper:~ wvosper$ docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm dev |
Same problem here, I was working fine and after I closed the terminal and started it again I'm getting this error. This time on Windows |
Same problem on osx 10.10.4 for me. During the setup I did see several ssh 255 exit status messages:
|
@kevinSuttle Looks like it, I was getting password prompts with the quickstart terminal as well. The old boot2docker works fine. |
Hm. Ok. Thanks @nexapps. |
Same problem here, also on Mac OS X 10.10.4. Lot's of error messages...
UPDATE: |
same here. |
I had same problem.
My environment:
|
Same exact problem as AlanJui for me too. My enviroment: |
I am having the same issues that @AlanJui ran into. I copied the certs that were in .docker/machine/certs to the folders where the script is failing (with some renaming) and was not able to progress further. |
Same issue here. Also trying docker-machine regenerate-certs default with no action. |
I had the same problem in two Windows 7 machines. It is working for me now. Here's how: I had Docker Toolbox: 1.8.1c, but it gave also the problems commented in issue #12469 of Docker. (Because 1.8.1c uses Git bash 2.5 instead of Git bash 1.9.x or something similar).
That worked for one of my computers. But the other still had problems. To solve the problems in the other computer I created another VM / environment like this: After starting the "Docker Quickstart Terminal" I ran:
In this case, "dev" is the name of the new machine, instead of the default machine, named "default". That created a new Virtual Machine to use with Docker. And that created the
that were missing in the directory for the "default" machine in:
Then I ran:
That did set up the environment to execute the And then I was able to execute the normal commands without errors, like:
and
|
It's not a great fix, but I've been able to get around this by:
|
had the same issue - problem was multiple (two, to be precise) "Virtual Box Host Only Networks". Completely removed Virtual Box and re-installed: now i only have 1 "Virtual Box Host Only" adapter on my windows 10 machine and after deleting ~/.docker, removing all VMs and re-starting docker-machine things are working now for me. |
After realizing the toolbox just hooks into your VirtualBox VM I just deleted the toolbox and did a port forward in VirtualBox settings, then just ssh into the Linux VM and install docker yourself. Maybe I'm missing something but I don't think the toolbox is needed. |
@kmcgill88 One good thing I can notice with the toolbox / terminal is that you can move to your local directory with your Dockerfile (something like /C/Users/user/code/super_container/) and build it right from there, without needing to copy all the files from your Windows machine to your VirtualBox machine. |
i solve this problem .
|
I just ran into the exact same issue described here but in Windows 7 (again). I think this is seeming related to #116 and #66 (although I first thought those were different issues) because the fix seemed the same. Description: It seems that the Quickstart Terminal (I don't know if the startup scripts or the docker-machine) is trying to create a new VirtualBox Host-Only network with IP 192.168.99.1 with subnet mask 255.255.255.0. If it doesn't exist, it tries to create one. Then, an IP conflict is detected and the Host-Only network receives a new IP although in the settings it still shows the one with 192.168.99.1. In my case, Windows "detects the conflict" an re-assigns a new IP, I'm not sure about Mac, but the problem seems very similar. To assert that (Windows in my case) is assigning a new IP to the virtual Host-Only network, I can run a command line (cmd.exe or powershell.exe) and type:
as described by @ameyrk in this comment #66 (comment). I think in Linux would be something like
I'm not sure about Mac, it's probably like in Linux as both are *nix family. After that, the Quickstart Terminal tries to connect to the VM with its configured IP (something like 192.168.99.100), using the Host-Only network. But as the Host-Only network got assigned a new IP, the terminal can't contact the VM. Quick fix: Having the Quickstart Terminal open (unsuccessfully trying to connect to the VM), the VM turned on (check that in VirtualBox), I applied the same fix I mentioned in issues #116 and #66. I copy it here (updated):
To check which Host-Only network is being used:
To update the IP of the Host-Only network:
After that, the Quickstart Terminal that was trying to connect to the VM was able to connect to it and showed the final "whale" Window. But before being able to actually use Docker with that VM, e.g. run
Note: after restarting the Quickstart Terminal, it will probably try to find a Host-Only network with IP 192.168.99.1, and after being unable to find it (we assigned it 192.168.99.2) it will probably create a new Host-Only network, with IP 192.168.99.1, creating the IP "conflicts" again, making it necessary to follow the steps above ...again. Additional notes: Before running into these issues I had to remove the "default" machine because I was having the issue described in #91, no To remove a machine from the Terminal you can run:
|
I was able to fix this on OSX by:
This fixed it for me - the reboot seemed important as just running the latest Toolbox had the same issues. |
Merging with #153 |
This happens after running the Docker Quickstart Terminal app, post 1.8.1 package install. All VMs have been deleted prior to this also.
I have the full output in a gist if needed.
I hit

CTRL-C
, I get this:The text was updated successfully, but these errors were encountered: