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 框架的设计哲学。
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
讨论数量: 1

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

6年前 评论
wanghan 6年前

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