[VirtualBox](EN) Run VM in background by using command line interface

Run VirtualBox VM in background by using command line interface


Environment and Prerequisite

  • Linux or Mac
  • VirtualBox and VM(alreaday amde)


VBoxManage Command

What is VBoxManage command?


Run VM in background

  • Usage
VBoxManage startvm [VM NAME] --type headless
  • Example
VBoxManage startvm "Ubuntu 14.04" --type headless


Save VM in current state

  • Usage
VBoxManage controlvm [VM NAME] savestate
  • Usage
VBoxManage controlvm "Ubuntu 14.04" savestate


Reference