我在 Windows 10 上使用 Vagrant 1.8.1。当试图移除或销毁一个盒子时,我得到了这些相互矛盾的结果:
baria@DESKTOP-057K4L5 /c/repos/hub/vtc/linphone-windows-dependencies
$ vagrant box list
hashicorp/precise64 (virtualbox, 1.1.0)
windows_2012_r2_core (virtualbox, 0)
baria@DESKTOP-057K4L5 /c/repos/hub/vtc/linphone-windows-dependencies
$ vagrant box remove windows_2012_r2_core
Box 'windows_2012_r2_core' (v0) with provider 'virtualbox' appears
to still be in use by at least one Vagrant environment. Removing
the box could corrupt the environment. We recommend destroying
these environments first:
vagrant-windows-2012-r2-core (ID: 00d3488f41fa40998bfe16ada2ebfd31)
Are you sure you want to remove this box? [y/N] N
baria@DESKTOP-057K4L5 /c/repos/hub/vtc/linphone-windows-dependencies
$ vagrant destroy windows_2012_r2_core
The machine with the name 'windows_2012_r2_core' was not found configured for
this Vagrant environment.
我用谷歌搜索了“流浪环境”是什么的解释,但一无所获。所以我不知道如何“破坏环境”。
即便如此,我希望该destroy
命令承认我的windows_2012_r2_core
盒子的存在,因为list
andremove
命令承认它的存在。
这里发生了什么?我如何干净地摆脱这个盒子,没有警告或错误?