WSL

WSL

SSH into different WSL distributions

  • Use different host ports for sshd of different WSL distributions, as all WSL distributions all have the same IP address.

Docker container exits immediately with code 139

  • Add the following content to %USERPROFILE%\.wslconfig and restart WSL
[wsl2]
kernelCommandLine = vsyscall=emulate

Cheatsheet

Get a list of currently available distributions

wsl --list --online

Install a specified distribution

wsl --install %distribution_name%

Run a specified distribution

wsl -d %distribution_name%

Distributions

Fedora