Commandes Linux : vagrant destroy

VAGRANT DESTROY

Commande : vagrant destroy
Usage: vagrant destroy [options] [name|id]

Options:

    -f, --force                      Destroy without confirmation.
        --[no-]parallel              Enable or disable parallelism if provider supports it (automatically enables force)
    -h, --help                       Print this help

 

Arrêter et supprimer la machine Vagrant

vagrant destroy [options] [name|id]

ex :

$ vagrant destroy
    default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
$ vagrant status
Current machine states:

default                   not created (virtualbox)

The environment has not yet been created. Run `vagrant up` to
create the environment. If a machine is not created, only the
default provider will be shown. So if a provider is not listed,
then the machine is not created for that environment.

 

Fermer le menu