Windows Docker Toolbox不会启动

时间:2016-08-11 12:17:20

标签: windows docker docker-machine docker-toolbox

尝试在Windows 10上启动Docker Toolbox 1.12.0并收到以下错误

Running pre-create checks...
Creating machine...
(default) Copying C:\Users\abc\.docker\machine\cache\boot2docker.iso to C:\Users\abc\.docker\machine\machines\default\boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
Error creating machine: Error in driver during machine creation: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe createvm --basefolder C:\Users\abc\.docker\machine\machines\default --name default --register failed:
VBoxManage.exe: error: Code REGDB_E_IIDNOTREG (0x80040155) - Interface not registered (extended info not available)
VBoxManage.exe: error: Context: "CreateMachine(bstrSettingsFile.raw(), bstrName.raw(), ComSafeArrayAsInParam(groups), bstrOsTypeId.raw(), createFlags.raw(), machine.asOutParam())" at line 272 of file VBoxManageMisc.cpp

Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...

之前有没有人遇到此错误?

2 个答案:

答案 0 :(得分:1)

重新安装VirtualBox然后重新启动我的机器修复了问题。希望这也可以解决你的问题。

答案 1 :(得分:0)

您可以通过重新安装VirtualBox并选择repair模式来解决此问题。

C:\Program Files\Docker Toolbox\installers\virtualbox-> virtualbox.exe

完成该过程后,重新启动机器并微笑!