wsl2和VMware、模拟器不兼容

VMware开启的虚拟机、安卓模拟器与wsl2、Docker Desktop for Windows不能共同使用,有兼容性问题

暂时找到的解决方案如下:

用完VMware或者模拟器,开始用wsl2

启用 hyper-v

bcdedit /set hypervisorlaunchtype auto
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

重启

wsl --shutdown
bash

用完wsl2,开始用VMware

禁用 hyper-v

bcdedit /set hypervisorlaunchtype off
posted @ 2022-02-04 18:23  请务必优秀  阅读(1872)  评论(0编辑  收藏  举报