欢迎来到代码驿站!

当前位置:首页 >

解决docker与vmware的冲突问题

时间:2021-08-21 09:10:02|栏目:|点击:

1、docker启动问题:

问题解决:

需要开启Hyper-V,(开启方法:控制面板->程序->程序和功能->启动或关闭Windows功能,然后再重新启动电脑)

2、但是重新开启vmware的时候,就会出现问题。

解决方法:

关闭Hyper-V,步骤如上所述。

但是这种方法每次都需要重启电脑,还是有点麻烦,好在现在也不怎么用虚拟机了。

补充: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

上一篇:易语言dll文件传递字节集参数解析

栏    目:

下一篇:docker 容器上编译 go 程序提示找不到文件问题

本文标题:解决docker与vmware的冲突问题

本文地址:http://www.codeinn.net/misctech/168570.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有