link to: https://github.com/microsoft/WSL/releases/tag/2.0.0
Windows 11 24H2
1. Open or create the wsl configuration file (located at %USERPROFILE%\.wslconfig
), and enter the following content:
[experimental]
autoMemoryReclaim=gradual | dropcache | disabled
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
Bash2. Open the command prompt and execute wsl --shutdown
发表回复