Windows 10中的docker toolbox快速启动失败并显示VBoxManage.exe错误 [英] docker toolbox quick start fails with VBoxManage.exe error in Windows 10
问题描述
我正在尝试在Windows 10 Home中使用docker.
I am trying to use docker in Windows 10 Home.
在安装过程中(在Virtual Box中),出现错误:
During install (in the Virtual Box part) I get an error:
无法重命名此连接.与您的名字有关的联系 指定的已经存在.指定其他名称.
Cannot rename this connection. A connection with the name you specified already exists. Specify a different name.
可以将其关闭,然后继续安装.
This can be closed and the installation continues.
但是,当我单击快速入门(start.sh
)时,出现以下错误:
However, when I click the quick start (start.sh
) I get the following error:
开始默认" ...(默认)检查网络以重新创建 需要...无法启动VM:C:\ Program Files \ Oracle \ VirtualBox \ VBoxManage.exe startvm默认--type headless 失败:VBoxManage.exe:错误:虚拟机默认"具有 在启动期间意外退出,退出代码为1(0x1).更多的 详细信息可能在 'C:\ Users *****.docker \ machine \ machines \ default \ default \ Logs \ VBoxHardening.log VBoxManage.exe:错误:详细信息:代码E_FAIL(0x80004005),组件 MachineWrap,界面IMachine看起来好像出了问题 步骤检查默认状态" ...按任意键继续...
Starting "default"... (default) Check network to re-create if needed... Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed: VBoxManage.exe: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users*****.docker\machine\machines\default\default\Logs\VBoxHardening.log VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine Looks like something went wrong in step ´Checking status on default´... Press any key to continue...
此错误已作为工具箱的问题,但适用于该解决方案有些人不适合我:
This error is already as an Issue for toolbox but the solutions that worked for some people didn't for me:
- 删除
.docker
目录(在C:\Users\<user.name>\.docker
中); - 重新安装virtualbox和docker工具箱;
- 在工具箱安装过程中,选中使用NDIS5驱动程序安装VirtualBox".
- Delete
.docker
directory (inC:\Users\<user.name>\.docker
); - Reinstalling both virtualbox and docker toolbox;
- Check "Install VirtualBox with NDIS5 driver" during toolbox install.
推荐答案
Step 1: Download and install https://www.virtualbox.org/attachment/ticket/14040/VBox-Win10-fix-14040.exe and leave it running in the background
步骤2 :转到"Virtual Box"程序文件(可能是:C:\Program Files\Oracle\VirtualBox
).
Step 2: Head to the Virtual box program files (probably: C:\Program Files\Oracle\VirtualBox
).
第3步:转到这三个.exe(Virtualbox.exe,VBoxHeadless.exe和VBoxManage.exe)的兼容性,然后选择Windows 7.
Step 3: Go to compatibility for these three .exe ( Virtualbox.exe, VBoxHeadless.exe, and VBoxManage.exe ) and choose windows 7.
运行快速入门即可.
我不确定这是解决方案的唯一原因,因为在此之前我也做了:
I'm not sure this was solely responsible for the solution because before this I also did:
- 删除
.docker
目录(在C:\Users\<user.name>\.docker
中); - 重新安装virtualbox和docker工具箱;
- 在工具箱安装过程中,选中使用NDIS5驱动程序安装VirtualBox".
- Delete
.docker
directory (inC:\Users\<user.name>\.docker
); - Reinstalling both virtualbox and docker toolbox;
- Check "Install VirtualBox with NDIS5 driver" during toolbox install.
这篇关于Windows 10中的docker toolbox快速启动失败并显示VBoxManage.exe错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!