boot2docker shellinit command ended up in error “Error requesting socket: exit status 255”

不想你离开。 提交于 2019-12-11 00:36:42

问题


Installed boot2docker on OSX, as per instructions of http://boot2docker.io/. After that started the application. In a terminal, boot2docker shellinit command started and ended up in throwing this error "Error requesting socket: exit status 255". Tried boot2docker stop--->delete--->download--->init--->up . It didn't help. The version I used is v1.3.1. Any ideas why it might have failed? Thanks!


回答1:


Finally this solution worked for me. It seems like, it is mandatory to have the localhost assigned to 127.0.0.1 in our hosts file(location is /etc/hosts). The following line should be there in /etc/hosts

127.0.0.1 localhost

And do the following. At the end, assign variables as the console shows.

boot2docker init boot2docker download boot2docker up




回答2:


try to see the actual error in virtualbox screen.

For me it was because visualization was not enabled in my bios. I could see “this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot” error in virtual box screen

in bios, security>visualization>enable>save and exit

Good luck



来源:https://stackoverflow.com/questions/26738873/boot2docker-shellinit-command-ended-up-in-error-error-requesting-socket-exit-s

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!