I'm using Vagrant 1.8.1 on Windows 10. When trying to remove or destroy a box, I got these contradictory results:
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.
I've googled for an explanation of what a "Vagrant environment" is, and found nothing. So I don't know how to "destroy an environment".
Even so, I would expect the destroy
command to acknowledge the existence of my windows_2012_r2_core
box, given that the list
and remove
commands acknowledge its existence.
What is going on here? How do I cleanly get rid of this box, without warnings or errors?