-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Exit status 255 #66
Comments
Thanks! Are there any logs if you scroll up? |
Ah, there are. Didn't see those. Machine default already exists.
Starting machine default...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Setting environment variables for machine default...
Starting VM...
Too many retries. Last error: Maximum number of retries (60) exceeded
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Setting environment variables for machine default... ❯ docker-machine-env
fish: Unknown command 'docker-machine-env' |
Thanks! Looking. |
I am facing the similar issue after updating from boot2docker to docker tools in Mac |
Facing the same issue |
Same issue |
Looks like this happens when you leave system idle for a long time on windows 8.1. I am checking this and let you know if I find more information. |
Hi All, The below issue is replicable on Windows 8.1. However, I am not sure on other OS. This happens, when you leave the system idle and eventually systems falls asleep. When you login back this issue happens. The command "docker-machine.exe env default" hangs and gives no o/p. You get the same error if you close the client and re-open it and also, no matter how many times you restart the virtual machine, the issue will persist. The only solution to get rid of this problem is you have to restart your machine. Looks like I have found the problem, please see the below screenshot and the steps.
Could you please look into this issue? Thanks, |
Having similar issue:
then when I run that:
or
On OSX 10.10.4. Not sure how to work around this one, all the docker commands seem to fail because of it. |
upon further investigation it might be a different root cause, created a ticket to track it here: #105 |
Also was seeing this issue. Stopped + removed 'default' VM from VirtualBox and re-ran this command: This worked. |
@ryguyrg just tried this and it's not working for me. |
upgrading to the test build of virtual box worked for me and seems to also have worked for many others. Shame the install process on mac is still a pain. boot2docker was not fun to use as well. |
Doing what @ryguyrg did worked for me. |
Following @ryguyrg suggestion:
and it hangs here. If I re-run the command in another terminal:
and it hangs on password prompt. This is with a fresh install of the toolbox, downloaded on Sep-02. |
@JeffDM Any ideas? |
I am facing the same issue |
Try "docker-machine ls" see if the default machine status is Timeout, then stop it. |
@jason13 just tried that, the machine was indeed in Timeout status. After I stopped it and ran Quick Start, the quick start script in one terminal locked up after this output
Is this supposed to hang? When I ran the same quick start from another terminal, it looks like it worked, I got back to the prompt, and the |
It won't hang but run a little longer then before. I think it might back to normal when you run next time. |
huh, so I Ctrl-C killed that process, and it also fell back into prompt with Docker image printed above. Maybe there's a bug there that makes it wait forever for something. |
I have the same issue, it seems that I have to restart my mac to solve the problem. |
@ameyrk nailed it down for Windows in this comment #66 (comment). I confirm the same issue happens in Windows 7: After a sleep / wake cycle, Windows detects the Host-Only network as a "duplicate" and changes its IP. After that, docker-machine (or the Quickstart terminal) doesn't work anymore. It is probably caused by this VirtualBox bug (from 4 years ago): https://www.virtualbox.org/ticket/9151, so there doesn't seem to be a fix soon from VirtualBox. And it's probably a Windows bug. The quick workaround that worked for me was:
After that, the docker-machine and the Quickstart Terminal should work, and that way, you don't have to restart your whole Windows. |
Looks like on my system for some reason DHCP for virtual network adapter became disabled and it causes error. |
Hello All, i changed the DHCP IP for adapter #2 and still i am facing the same issue. In docker toolbox: and i tried running the vm directly from virtualbox i got this... Failed to open a session for the virtual machine default. my virtualbox version is latest 5.0.4r102546 |
Also affected here with docker-machine on Mac OS X (not yet El Capitan) |
100% Fresh install of El Capitan with no modifications made yet. Installed Docker Toolbox and get this error when starting up the VM. Tried upgrading to virtualbox 5.0.6 with no luck. |
I built docker-machine from master and that worked, so I think something was fixed there |
So very odd issue... I was fighting with this and trying to recreate it in various way tweaking setting but i finally just tried to ssh into the machine using
You can find the port for your machine in the virtualbox settings as it might be different. When i ran this it game me the output of
I went in and chmod 755'ed that file as well as setting my id_rsa to 600 which is had not been before. After doing this i removed and recreated the machine and everything worked... I wonder how many of these issues are being caused by odd ssh config files or bad permissions. I am running docker-machine Version: 0.4.1 (e2c88d6)
|
@michaeljs1990 I'm trying what you posted and i don't even see a config file in this directory. Only a github_rsa file... I'm assuming that's part of my problem |
I had the issue with error message "Get http://127.0.0.1:2375/v1.20/version: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it..
What solved the issue for me (on Win 8.1) was:
Not sure whether this helps anyone but at least this solved the error regarding "no connection". |
@meeleem thank you! it helps, just resolved the same issue on Win 7. |
anyone who gets this issue please print out the output of
you can find ssh port in |
Possible to continue this dialog inside #153 ? Trying to merge all the issues to really help us troubleshoot further. |
It does not look to be the same issue to me. Although the very last post in here belongs in the ticket you mentioned this issue is much more likely to show up when googling for the 255 error which seems to be an ssh issue. |
@michaeljs1990 It's not always the same issue, but we are trying to get down to the bottom of this with the Docker machine team as well. A centralized place for machine issue will help with that. from machine team: 255 is a generic error code |
Got you didn't read the ticket title well enough. Should the other ticket redirect to the machine repo? The only reason I have been posting in here is because this has much more info on the issue then the actual machine repository. |
@michaeljs1990 Thanks. Sorry for the misunderstanding. I am just doing what helps the machine team the most. We have seen a lot of exit status 255 issues from Kitematic and Toolbox, and they are not always caused by the same issue it seems. Having a place for the machine team to just go in and help in my opinion is beneficial. We can certainly re-open this issue if you feel reopening will be more helpful. |
@meeleem Thanks. I was getting the "connection actively refused" message. Deleting the machine from VirtualBox and running ./start.sh in a BASH got it to work. |
@meeleem ++, Thanks, your workaround solved the "connection actively refused" for me as well. My procedure matches what @DanHenry4 also did. |
@meeleem Thanks!! Your fix worked! I just deleted the vm, then ran the quickstart termnial as admin and it worked fine. Must've been something in setting up the ssh keys (connection was actively refused by the destination) or something that required admin privileges. |
@meeleem Worked, Thanks |
@yurishkuro Thanks! I'm run this script in iTerm2 and it worked for me.
|
For me the process hung on
and I interrupted the process forcefully and that caused the problem with |
The process was hung for me as well. Found I was on an older version of VB, upgrading fixed it |
problem :Exit status 255 |
This is what happens after running the Docker QuickStart Terminal.app for me.
The text was updated successfully, but these errors were encountered: