💾 Archived View for g.codelearn.me › 2018-02-18-virtualbox-headless-mode.gmi captured on 2023-03-20 at 17:45:53. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
I use VirtualBox and do some testing and learning with multiple machines running at once.
Usually those machines are servers so I don't really need the GUI since I connecting to them using SSH clinet.
When VirtualBox is installed you'll see `VBoxManage` executable (`vboxmanage` is also there as alias) which is CLI tool that allows you to interact with your VMs.
Here is a command how you can start VM in headless mode:
vboxmanage startvm <vm name> --type headless
To shutdown the VM run this:
vboxmanage controlvm <vm name> poweroff
Have fun.