Vagrant error: Your VM has become inaccessible.

本文介绍了解决Vagrant中因删除虚拟机文件导致的不可访问错误的方法。通过删除项目目录下的.vagrant文件夹并重新运行vagrant up命令,即可解决此问题。

博客转自:http://doodlebobbers.com/vagrant-error-your-vm-has-become-inaccessible/

 

If you’ve deleted a virtual machine file still referenced by one of your projects, you’ll run into the following error when you try and instantiate the VM via vagrant up.

Your VM has become “inaccessible.” Unfortunately, this is a critical error with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them.

Vagrant creates a hidden folder within your project directory named .vagrant with files that refer to specific VM IDs.

.vagrant

Simply delete the .vagrant folder within your project and rerun vagrant up.

For giggles, here’s a Github issue page regarding this with a few more details.

 

在网上找了好久,终于找到了一篇可以解决的办法。

其实就是删除安装目录中的.vagrant 文件夹,然后在到命令行窗口下执行vagrant up

转载于:https://www.cnblogs.com/wangkongming/p/4070782.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值