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