LinuxCommandLibrary

vagrant-destroy

Delete Vagrant virtual machines

TLDR

Destroy VM

$ vagrant destroy
copy
Force destroy without confirmation
$ vagrant destroy -f
copy
Destroy specific VM
$ vagrant destroy [name]
copy

SYNOPSIS

vagrant destroy [options] [name]

DESCRIPTION

vagrant destroy stops and deletes all resources for a Vagrant machine. Removes the virtual machine and associated storage. The Vagrantfile and provisioning remain intact.

PARAMETERS

-f, --force

Destroy without confirmation.
--parallel
Destroy in parallel.
--graceful
Graceful shutdown before destroy.

CAVEATS

This permanently destroys VM data. Shared folders and host files are not affected.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community