Skip to content
Noah Gibbs edited this page Mar 31, 2015 · 1 revision

First off: "vagrant destroy --force"

There are two cases where you may need more, though.

Vagrant is Confused!

If your Vagrant VM is for a directory you destroyed, type "vagrant global-status" to get a list of all Vagrant VMs running on the machine. You can then destroy them by ID: "vagrant destroy 1ac37f --force".

If Vagrant has destroyed a VM but VirtualBox somehow hasn't, you can run the VirtualBox app directly to show what VMs are running. They can be removed via that UI.

VirtualBox is Confused!

If VirtualBox has somehow lost track of a process or VM, you should pretty certainly reboot. But if you don't want to for some reason, download a VirtualBox DMG and run their uninstall script to do things like remove stray Kernel modules from VirtualBox. It's pretty far-reaching.

Clone this wiki locally