WSL2

Installing WSL 2

2020-11-29. Category & Tags: WSL2, Windows Sub System, Docker

Pre-requirements # Windows 10 May 2020 (2004) // or older Windows 10 May 2019 (1903) / or Windows 10 November 2019 (1909) A computer with Hyper-V Virtualization support Steps Overview # Enable WSL 2 Enable ‘Virtual Machine Platform’ Set WSL 2 as default Install a Linux distro Download the lateest kernel to update [ref] Powershell CML # dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart # Enable WSL dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart # Enable ‘Virtual Machine Platform’ # Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart # older win10 wsl --set-version Ubuntu 2 # convert current installed wsl --set-default-version 2 # for future installations ref: OMG Ubuntu. ...