How to Install WSL 2 on Windows Server

Microsoft

A couple of months ago Microsoft announced the Windows Subsystem for Linux 2 (WSL 2), which is a successor of the Windows Subsytem for Linux shipped a couple of years ago. WSL 2 is currently available for Windows Insiders running Windows 10 Insider Preview Build 18917 or higher and with the Docker Tech Preview, you can now even run Docker Linux Container directly on WSL 2. With the latest Windows Server Insider Preview build 18945, you are also able to run WSL 2 on Windows Server. In this blog post, I am going to show you how you can install the Windows Subsystem for Linux 2 (WSL 2) on Windows Server. The Windows Subsystem for Linux was already available in earlier versions of Windows Server; however, WSL 2 brings a lot of new advantages.

 

Read more here: https://www.thomasmaurer.ch/2019/08/how-to-install-wsl-2-on-windows-server/ 

1 Reply

Just a note for those who are trying now on Windows Server Preview (actual build 20289).
The WSL2 bits are broken from build 20251 onward.
Look here to download the last build where WSL2 works and don't do an in-place upgrade.
https://techcommunity.microsoft.com/t5/windows-server-insiders/wsl-2-not-working-after-installing-20...