Answers for "you don't have any wsl 2 distro. please convert a wsl 1 distro to wsl 2, or install a new distro and it will appear here."

0

convert a wsl 1 distro to wsl 2

wsl --set-version <Distro> 2
Posted by: Guest on December-09-2021
0

WSL2 .wslconfig Windows

# turn off all wsl instances such as docker-desktop
wsl --shutdown
notepad "$env:USERPROFILE/.wslconfig"

# .wslconfig
[wsl2]
memory=3GB   # Limits VM memory in WSL 2 up to 3GB
processors=4 # Makes the WSL 2 VM use two virtual processors
Posted by: Guest on April-01-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language