mb destroy

Destroy a sandbox by first attempting a graceful shutdown and then removing all on-disk resources (disk image, EFI vars, state, etc.) from ~/.mb/vms/.

This is a destructive operation and will prompt for confirmation unless --yes is provided. Use --force to forcibly kill a hung VM before removing.

Usage

mb destroy [name] [flags]

Examples

mb destroy my-sandbox
mb destroy --yes
mb destroy --force --yes

Flags

FlagDescription
--forceForce kill a hung VM before removing
-h, --helpHelp for destroy
--yesSkip confirmation prompt