In this section, we will spin up a new Vagrant environment; thus, we need to destroy our previous setup. We must first check the status of our environment by running the vagrant status command:
From the output, we can see that we have three boxes running.
To spin down the Vagrant environment, follow these steps:
- Run vagrant destroy and enter y on the following prompts:
- Run vagrant status to verify that the virtual machines are no longer running and that they are in the not created state: