1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:42:08 +02:00
tldr/pages/common/vagrant-halt.md
Amine LOUHICHI 6a6fa655ff
vagrant-halt: add page (#15939)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-03-17 12:18:08 +02:00

667 B

vagrant halt

Shuts down the running machine Vagrant is managing. See also: vagrant, vagrant box, vagrant plugin, vagrant validate. More information: https://developer.hashicorp.com/vagrant/docs/cli/halt.

  • Halt the currently running Vagrant machine gracefully:

vagrant halt

  • Halt a specific machine by its ID or name gracefully:

vagrant halt {{id_or_name}}

  • Forcefully halt the current running machine(s) (This can affect multiple running machines if they are part of the same Vagrant environment):

vagrant halt {{[-f|--force]}}

  • Forcefully halt a specific machine by its ID or name:

vagrant halt {{[-f|--force]}} {{id_or_name}}