-
-
Save garthk/d5a17007c277aa5c76de to your computer and use it in GitHub Desktop.
wait4eth1() { | |
CNT=0 | |
until ip a show eth1 | grep -q UP | |
do | |
[ $((CNT++)) -gt 60 ] && break || sleep 1 | |
done | |
sleep 1 | |
} | |
wait4eth1 |
Same here: it hangs on start after applying this patch, so I forced a poweroff of the VM and then restarted successfully.
If I just run boot2docker delete, boot2docker init, boot2docker up it works but then the second time I stop and start it I again see the certificate error, while after applying this solution it disappears permanently.
After applying the proposed fix and launching boot2docker the machine would go into an indefinite wait:
Waiting for VM and Docker daemon to start.................oooooo
I had to stop, delete and recreate the VM and then followed @y16ra's comment. Everything went back to working normally.
+1
👍
@adamkdean that worked for me:
boot2docker delete
boot2docker init
boot2docker up
Thank you
Thanks, works for me on Windows 7.
@y16ra
got it, thank you.
I was facing the problem as @jluna79.
Thank you for @y16ra's comment. It works for me on windows 8.1
The @y16ra's comment seems to be deleted. Can anyone paste here the solution, please? My boot2docker also hangs on start
Followed @y16ra suggestion and it worked.
(At least for now. Still don't know if I need to repeat the procedure in the future.)
The original script works but the boot2docker will hang on start, instead of deleting the image I force poweroff and restart and it boots right into it immediately, hooray!