. Please convert a WSL 1 distro to WSL 2 code example
Example: wsl convert to wsl2
wsl --set-version <Distro> 2
# For setting all future distributions to use WSL 2
wsl --set-default-version 2
wsl --set-version <Distro> 2
# For setting all future distributions to use WSL 2
wsl --set-default-version 2