vagrantで異常終了した後に、起動しようとしたらエラーがでて起動しなかった。
C:\Users\user\vagrant>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
default: Adapter 3: bridged
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "954ce3d3-01e5-4c71-bd82-354722911f27", "--type", "headless"]
Stderr: VBoxManage.exe: error: The virtual machine 'default_1489460390154_97977' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\user\VirtualBox VMs\default_1489460390154_97977\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
Virtualboxを再インストールをすると、起動するという記事をみて試したところ、無事復旧しました。
個人的な環境上、ソースコードとかそのまま置いてるから、起動しなくなると致命的なんですよね。
Dockerだとどれくらい速度でるんだろう。壊れそうで怖くなったので、早めに試してみよう。