概述

在 windows 平台上,目前 Docker 和 VMware Workstation 无法同时运行。Docker 需要开启 HV 模块支持,VMware Workstation 则需要关闭 HV 模块。

 

HV 模块的管理

1、用管理员权限打开 Windows PowerShell

 

2、输入 bcdedit 查看 HV 状态

 

3、根据需求设置 HV

#关闭 HV - 运行虚拟机
bcdedit /set hypervisorlaunchtype off

#开启 HV - 运行 docker
bcdedit /set hypervisorlaunchtype on

 

4、重启电脑,使设置生效