出于某种原因,今天早上当我运行“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 文件夹并进行 vagrant up,但这在我们非常慢的网速上会花费很长时间 - 谁能建议如何快速解决这个问题?
最佳答案
这对我有用:
在我的“C:\Users{user}\VirtualBox VMs{vm-id}”文件夹中有两个文件
- {vm-id}.vbox-prev
- {vm-id}.vbox-tmp
从“{vm-id}.vbox-tmp”重命名为“{vm-id}.vbox”解决了我的问题,我可以调用“vagrant up”
关于windows-7 - VM 已变为 'inaccessible' - Vagrant 不再工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30662746/