离线安装WSL2
1、开启相关功能
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
2、下载程序和镜像系统(如:ubuntu)
https://github.com/microsoft/WSL/releases
https://github.com/microsoft/WSL/blob/master/distributions/DistributionInfo.json
wsl可以安装在虚拟机中,但是要在父级平台为其开启“虚拟机嵌套功能”