2015-08-22 52 views
1

我已经安装了OSX 10.10.5泊坞窗工具箱v1.8.1b为什么我的码头机不能在OSX下工作?

这也将安装VirtualBox的V5.0.2

然而,当安装完成后,我运行多克尔快速入门终端,它的在virtualbox中创建一个新的虚拟机,但不会启动它,最后完成的消息是default is not running

当我尝试使用docker-machine start default运行机器时,我收到消息exit status 1

当我去VirtualBox和尝试有启动机器,我得到了以下错误消息:

Failed to load VMMR0.r0 (VERR_VMM_SMAP_BUT_AC_CLEAR). 


Result Code: 
NS_ERROR_FAILURE (0x80004005) 
Component: 
ConsoleWrap 
Interface: 
IConsole {872da645-4a9b-1727-bee2-5585105b9eed} 

所以任何人都得到这还是我没有正确按照指示?

回答

5

我有完全相同的问题。似乎VirtualBox的最新版本中存在一个错误,它在最新的测试版本中已修复。见https://www.virtualbox.org/ticket/14412

我从 https://www.virtualbox.org/wiki/Testbuilds 下载最新的VirtualBox的测试版本,然后使用该安装程序提供卸载程序脚本安装新的之前删除的越野车版本。

运行多克尔快速入门终端再次得到了默认VM运行,但它缺少一个ca.pem文件:

docker is configured to use the default machine with IP 192.168.99.100 
For help getting started, check out the docs at https://docs.docker.com 

open /Users/justin/.docker/machine/machines/default/ca.pem: no such file or directory 

VirtualBox的证实,运行VM。

我可以创建一个新的虚拟机,并与码头工人成功地使用它(在不同的终端窗口):

Justins-MacBook:~ justin$ docker-machine create --driver virtualbox dev 
Creating VirtualBox VM... 
Creating SSH key... 
Starting VirtualBox VM... 
Starting VM... 
To see how to connect Docker to this machine, run: docker-machine env dev 
Justins-MacBook:~ justin$ eval "$(docker-machine env dev)" 
Justins-MacBook:~ justin$ docker run hello-world 
... 

我然后删除默认的VM:

Justins-MacBook:.docker justin$ docker-machine stop default 
Justins-MacBook:.docker justin$ docker-machine rm default 
Successfully removed default 

运行泊坞快速入门终端创建了一个新的默认虚拟机,现在docker正在开心地工作。

更新:对于这种在一个开放的问题:https://github.com/docker/toolbox/issues/119

+0

我没有拿到证书的问题,但不是所有的正常使用等。谢谢 –

+0

很高兴能够提供帮助 - 我自己在寻找答案时发现了您的问题。作为一个新手,我在回答中仅限于两个链接 - 另一个我将包括在Docker-Machine上的一个问题:https://github.com/docker/machine/issues/1716,它已被关闭时我不认为它应该是。我看到Docker Toolbox上现在有一个新的公开问题:https://github.com/docker/toolbox/issues/119,我希望这会导致修复。目前我认为这个bug会影响没有安装VirtualBox的人。 –

相关问题