我昨天把我的Windows 10升级到最后一次更新,现在,当我启动vagrant up命令时,我得到了这个错误:

==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.

当我尝试与GUI我有这个错误:

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).

我重新安装了VirtualBox 5.0.10和扩展包, 重新配置主机以太网适配器,但总是相同的错误…

什么好主意吗?


当前回答

我找到了解决问题的办法, 在我的网络适配器中有一个冲突,我只是禁用了错误消息中出现的那个,然后再次启动运行命令,在从窗口获得许多批准消息后,已经创建了一个新的适配器。

我希望这个解决方案能在某些情况下有所帮助。

其他回答

卸载Virtualbox并安装最新版本,在回答这个问题时,它是5.12。我安装了Vagrant,它会自动安装Virtualbox 5.10。我在安装Windows 1511更新后遇到了这个问题,卸载Vagrant提供的Virtualbox并安装最新版本解决了这个问题。

这两个答案并没有解决我的问题,但把它们结合起来,我就能解决问题。 我的情况是,我试图在Windows 7 pc上安装和运行Docker,并不断得到一个错误: “看起来好像出了什么问题……按任意键继续…”

经过深入研究,我发现这个问题与Docker创建的主机网络适配器有关。 我安装了NDIS6驱动程序,但它是启用的。我试着取消检查,禁用,重新检查,启用等,但它没有帮助。

然后我卸载VB并按照第一个答案重新安装以获得NDIS5驱动程序。 这是未经检查的,所以检查它,我能够过去这个问题。

在Windows 10更新后,我的VirtualBox主机专用以太网适配器实际上从操作系统的网络适配器中消失了(在控制面板->网络和共享中心->更改适配器设置下查看这些)。必须重新安装VirtualBox才能将其带回操作系统。

然后在VirtualBox的新版本中,仅主机适配器位于全局工具(右上)->主机网络管理器之下。确保已为适配器启用DHCP服务器。

示例配置:

对我来说,禁用和启用网络连接不足以让它工作。 我必须删除我的家庭用户(c:/Users/your_user/.docker/)中的。docker存储库的内容。 在这之后,我重新安装Docker Toolbox和VitualBox,并使用machzqcq提示检查NDIS5驱动程序安装的virtualbox。

我在这里找到了答案:https://github.com/docker/toolbox/issues/473

我的解决方案是更新VirtualBox。

在我的Windows 8.1上重新安装Docker工具箱(v1.12.5)后,我第一次遇到这个问题。对我来说有用的是VirtualBox的更新。然后我在一些Windows更新后也遇到了同样的问题,更新VirtualBox再次解决了这个问题。