[英]Docker Quickstart Terminal fails to start VirtualBox VM in Windows 10
I've tried several times to start the Docker VM via the Docker Quickstart Terminal.我已经多次尝试通过 Docker 快速入门终端启动 Docker VM。 After deleting the
default
virtual machine in VirtualBox I receive the following output在 VirtualBox 中删除
default
虚拟机后,我收到以下输出
Creating Machine default...
Running pre-create checks...
Creating machine...
(default) OUT | Creating VirtualBox VM...
(default) OUT | Creating SSH key...
(default) OUT | Starting VirtualBox VM...
Error creating machine: Error in driver during machine creation: exit status 1
Looks like something went wrong... Press any key to continue...
To troubleshoot further, I attempted to start the default
machine in the VirtualBox GUI directly using Start > Headless Start, as suggested in other Docker issues.为了进一步排除故障,我尝试使用 Start > Headless Start 在 VirtualBox GUI 中直接启动
default
机器,如其他 Docker 问题中所建议的那样。 The startup failed and I received an error dialog box with the content:启动失败,我收到一个错误对话框,内容如下:
Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter' (VERR_INTNET_FLT_IF_NOT_FOUND).
Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND).
Result Code:
E_FAIL (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Versions of related components:相关组件的版本:
One of the answers to this question solved my problem. 这个问题的答案之一解决了我的问题。 Here it is with a few edits:
这里有一些编辑:
I found a solution
我找到了解决方案
- Open Windows Network Connections
打开 Windows 网络连接
- Right click on VirtualBox Host only adapter that was created
右键单击创建的 VirtualBox Host only 适配器
- Choose properties
选择属性
- Check "VirtualBox NDIS6 Bridged Networking driver"
选中“VirtualBox NDIS6 桥接网络驱动程序”
- Disable and Enable the highlighted item
禁用和启用突出显示的项目
For me "VirtualBox NDIS6 Bridged Networking Driver" was not checked.对我来说,没有选中“VirtualBox NDIS6 Bridged Networking Driver”。 I checked it and clicked OK to close the Properties window.
我检查了它并单击“确定”关闭“属性”窗口。 After that, the Docker Quickstart Terminal was able to start the VM successfully.
之后,Docker Quickstart Terminal 能够成功启动 VM。
The same thing happened to me.这样的事情我也经历过。 At this moment I am using Windows Home.
目前我正在使用 Windows Home。
At least in my case, what happened was that the environment variables DOCKER_MACHINE and DOCKER_TOOLBOX_INSTALL_PATH were not created for the system.至少在我的情况下,发生的情况是没有为系统创建环境变量DOCKER_MACHINE和DOCKER_TOOLBOX_INSTALL_PATH 。
I just had to add them and it worked.我只需要添加它们就可以了。
I tried to follow @chris-hunt answer, but I didn't found the highlighted item.我试图遵循@chris-hunt 的回答,但没有找到突出显示的项目。 I realized it was due to the fact I didn't installed the VirtualBOX that comes in the Docket Tools installation.
我意识到这是因为我没有安装 Docket Tools 安装中的 VirtualBOX。 I think I was using an older version.
我想我使用的是旧版本。 So I uninstalled docker tools AND VitualBOX, both on windows Control Panel.
所以我在 Windows 控制面板上卸载了 docker 工具和 VitualBOX。 After that, I reinstalled Docker Tools with the VirtualBOX checked, and it finally worked.
之后,我在检查了 VirtualBOX 的情况下重新安装了 Docker Tools,终于成功了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.