Docker和VMware冲突:VMware Workstation and Device/Credential Guard are not compatible报错解决

本地安装了Docker和VMware后,无法同时启动。因为Docker和VMware都相当于Hypervisor,并且基于虚拟机属性需要获取对CPU等硬件的掌控权,因为在同一台机器上无法同时运行。

VMware报错

VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. Please visit http://www.vmware.com/go/turnoff_CG_DG for more details.

Windows features on or off

通过切换windows features选项开启或者关闭Hyper - H选项,选中状态下可启动docker应用

关闭过程中遇到报错 Error code 0x80073701

Virtualization Based Security

WIN+R 打开运行

输入 gpedit.msc 打开  Group Policy Editor

Computer Configuration -> Administrative Templates -> System -> Device Guard 

双击打开配置选项 Turn on Virtualization Based Security 选择disable

PowerShell command

开始 - Windows PowerShell (Admin)

开启命令为

bcdedit /set hypervisorlaunchtype auto

关闭命令为

bcdedit /set hypervisorlaunchtype off

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值