Headless Virutalbox (Cheat Sheet)

Last Updated: Feb. 17th 2022 at 7:04pm Tags: blog linux virtualbox cheatsheet

Virtualbox is exteremly handy on a development server, learn how to run it headless.

Virtualbox is extremely handy on a development server.
As I don’t manage Virtualbox through command line very often, I can never remember the command and therefore have created this cheatsheet. "

Virutalbox command

# list instances
VBoxManage list vms

# start instance
VBoxManage startvm SERVER_NAME --type headless

# list running instances
VBoxManage list runningvms

# List snapshots
VBoxManage snapshot SERVER_NAME list

# Take a snapshot
VBoxManage snapshot SERVER_NAME take SNAPSHOT_NAME --description "OPTIONAL DESCRIPTION GOES HERE"

# Restore a snapshot
VBoxManage snapshot SERVER_NAME restore SNAPSHOT_NAME

# Delete a snapshot
VBoxManage snapshot SERVER_NAME delete SNAPSHOT_NAME

References

Comments

You need to login to comment.