Vagrant 啟動 VirtualBox 的問題 ( 誤裝 docker 後報錯 )

zulien發表於2019-10-16

執行vagrant up時遇到下面的錯誤:

Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Checking if box 'lc/homestead' is up to date...
==> homestead-7: Resuming suspended VM...
==> homestead-7: 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", "0030943b-64e8-45c6-902b-28b3683175ba", "--type", "headless"]

Stderr: VBoxManage.exe: error: Unsupported version 6 of data unit 'HWACCM' (instance #0, pass 0xffffffff) (VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

解決方法

  1. 解除安裝docker
  2. 重灌virtualbox
  3. vagrant reload
    或者是升級virtualbox最新版,不過vagrant 目前支援的最新版本是5.2

相關文章