-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot up after halt #17
Comments
Thank you for reporting. Which version of Vagrant, VirtualBox, yungsang/boot2docker do you use? |
I tested it as same as yours with Vagrant v1.6.5, VirtualBox v4.3.20 and yungsang/boot2docker v1.3.6 with Docker v1.3.3.
|
I'm using Vagrant 1.7.0, VirtualBox 4.3.20, and yungsang/boot2docker 1.3.6. I think I see what is going on. It looks like on first up, Vagrant replaces the insecure SSH key with a generated one. Then on halt / up again, that key is reverted back to the insecure key in the VM, but Vagrant is trying to use the newly generated public key to SSH. Looks like this is because |
!! Is it generated by Vagrant v1.7.0??? I will check it out. Thanks for the information. |
Yep! Looks like a new feature of 1.7.x:
|
Oh!! Thanks again. I will figure this out. |
hashicorp/vagrant#2608 (comment)
This may work at this time. |
The generated private key locates |
This affects my CoreOS boxes, too. |
It seems there isn't any good solution but |
@andyshinn I've just released yungsang/boot2docker v1.3.7. |
Seems like a reasonable solution for now 👍. This is a really good solution over the official boot2docker for doing Mac Docker development with NFS support. The vboxsf driver is just way too slow to be useful. Thanks! |
After halting and then upping, Vagrant can no longer authenticate:
If I run
vagrant ssh
it prompts me for thedocker
user password. I can get into the VM with thetcuser
password. Theauthorized_keys
file does appear correct:I can see that the VM is up in VirtualBox. Any idea what might be happening here?
The text was updated successfully, but these errors were encountered: