💾 Archived View for g.codelearn.me › 2018-02-18-virtualbox-headless-mode.gmi captured on 2023-07-10 at 13:36:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

VirtualBox Headless mode

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.