Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

vmctl destroy

Destroy a VM and clean up all associated resources.

Synopsis

vmctl destroy <NAME>

Arguments

ArgumentDescription
NAMEVM name (positional)

Details

Stops the VM if it's running, then removes all associated files: QCOW2 overlay, cloud-init ISO, log files, SSH keys, sockets, and the work directory. Unregisters the VM from the store.

This action is irreversible.

Examples

vmctl destroy myvm

See Also

vmctl down (declarative equivalent)