当前位置: 代码迷 >> 综合 >> 【Docker】Vagrant 环境搭建和“error: VT-x is not available”解决
  详细解决方案

【Docker】Vagrant 环境搭建和“error: VT-x is not available”解决

热度:24   发布时间:2024-01-19 23:42:13.0
安装步骤参考: 使用vagrant在线/离线安装centos7

【问题】

Vagrant up - VBoxManage.exe error: VT-x is not available (VERR_VMX_NO_VMX) code E_FAIL (0x80004005) gui headless

【解决】

  • 以 管理员方式打开命令行工具(windows power shell)输入:         
bcdedit /set hypervisorlaunchtype off

 

  • 提示成功后重启PC,重启后以管理员方式打开命令行工具:输入: 
bcdedit /set hypervisorlaunchtype on

 

  • 如果输入上面命令后提示   "The integer data is not valid as specified", 输入:
bcdedit /set hypervisorlaunchtype auto

 

  相关解决方案