1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/vagrant-halt.md

22 lines
667 B
Markdown
Raw Normal View History

# 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}}`