Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
149
Help us understand the problem. What is going on with this article?
@zakkied

VirtualBox の VM をコマンドラインから管理する

More than 1 year has passed since last update.

よく使うコマンドをピックアップ。

VM の一覧

$ VBoxManage list vms

動作中の VM 一覧

$ VBoxManage list runningvms

VM を起動する

  • Video コンソール有り: $ VBoxManage startvm "Windows8Pro"
  • Video コンソール無し: $ VBoxManage startvm "Windows8Pro" --type headless

VM を停止する

  • 電源off: $ VBoxManage controlvm poweroff
  • ACPI シャットダウン: $ VBoxManage controlvm acpipowerbutton

スナップショット

  • 作成: $ VBoxManage snapshot "Windows8Pro" take "win-tmp"
  • 削除: $ VBoxManage snapshot "Windows8Pro" delete "win-tmp"
  • 一覧: $ VBoxManage snapshot "Windows8Pro" list
  • リストア: $ VBoxManage snapshot "Windows8Pro" restore "win-tmp"

その他のコマンド

$ VBoxManage help

長大なリストが表示される。GUI で操作できることは、ほぼ網羅されているっぽい。

149
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
zakkied

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
149
Help us understand the problem. What is going on with this article?