Skip to content

Instantly share code, notes, and snippets.

@noboo
Created July 27, 2019 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noboo/1687370b3d1c0ea56c38f7bc2a1accc6 to your computer and use it in GitHub Desktop.
Save noboo/1687370b3d1c0ea56c38f7bc2a1accc6 to your computer and use it in GitHub Desktop.
VirtualBox

VirtualBox

VMの一覧を表示する(アクティブでないものも含む)

VBoxManage list vms

アクティブなVMの一覧

VBoxManage list runningvms

VMの情報を表示

VBoxManage showvminfo [VM名]

利用可能なOS一覧を表示する

VBoxManage list ostypes

VMを起動する

VBoxManage startvm [VM名] [--type gui|headless|separate]

オプション

--type gui : guiあり(default) headless : guiなし separate : デタッチ可能な UI を利用して VM を起動する機能(現時点で実験的な機能)

VMを停止する

VBoxManage controlvm [VM名] poweroff

VMを削除する

VBoxManage unregistervm [VM名]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment