我昨天把我的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和。docker文件夹…结果很好

其他回答

我尝试了这个页面上的每一种方法(谢谢大家!)。毫无效果。几个小时后,我终于让它工作了。

我的问题是,我没有在“步骤出错'检查默认状态'”之前出现错误。

start.sh脚本中的这一行失败了。

VM_STATUS="$( set +e ; "${DOCKER_MACHINE}" status "${VM}" )"

在命令提示符中运行下面的行,并返回“Running”。

D:\Dev\DockerToolbox\docker-machine.exe status default

所以我开始跟踪Github链接中的所有修复程序,并找到了修复程序。

在start.sh脚本中,我更改了这一行

VM_STATUS="$( set +e ; "${DOCKER_MACHINE}" status "${VM}" )"

to

VM_STATUS="$(${DOCKER_MACHINE} status ${VM})"

我找到了解决办法

打开Windows网络连接 右键单击已创建的VirtualBox主机专用适配器 选择属性 检查“VirtualBox NDIS6桥接网络驱动程序” 禁用和启用适配器

我已经工作了一段时间,所有你需要做的是打开VirtualBox,

文件>首选项/网络>主机专用网络

您将看到VirtualBox主机专用以太网适配器

点击它,然后编辑。

我对流浪虚拟机的IP设置为192.168.10.10,您应该修改到您的虚拟机IP

这是我的网络设置;

打开网络和共享中心,转到侧栏中的更改适配器设置。 在适配器列表中右键单击主机专用适配器,然后配置按钮->驱动程序选项卡->更新驱动程序按钮。 选择浏览我的电脑…在下一个对话框中选择Let me pick ....您应该看到其中只有主机驱动程序的列表。 选择它并单击下一步。驱动更新后,请重新尝试在虚拟机中使用主机网络。

我的解决方案是更新VirtualBox。

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