Vagrant 启动 VirtualBox 的问题 ( 误装 docker 后报错 )

执行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
本作品采用《CC 协议》,转载必须注明作者和本文链接
编程如作画,语言和框架只是我们的画笔
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 1

去年 vagrant 已经支持 VirtualBox 6.0+了·,
filevagrant 更新 log

5年前 评论
wanghan 5年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!