安装Docker后VMware和VirtualBox无法启动
问题描述:
最近学习docker,发现docker安装后,原来的VMware,VM VirtualBox都无法启动了:
VMware错误信息:
VMware Workstation 与 Device/Credential Guard 不兼容。在禁用 Device/Credential Guard 后,可以运行 VMware Workstation。
VirtualBox错误信息:
VirtualBox VT-x is not available
解决办法:
步骤1:使用管理员身份打开cmd;
步骤2:输入命令,查看hyper-v启动状态:Auto:
bcdedit |findstr hyperv
hypervisorlaunchtype Auto
步骤3:禁用Hyper-V:
bcdedit /set hypervisorlaunchtype off
步骤4:重启电脑,查看hyper-v配置;
bcdedit |findstr hyper
hypervisorlaunchtype Off
再次尝试打开VMware,Oracle VM VirtualBox,成功;
鱼和熊掌
综上,要在windows上使用docker-desktop,需要打开Hyper-V;
如果要运行VMware 或Oracle VM VirtualBox,需要禁用Hyper-V;