WSL - jasper-zanjani/dotfiles GitHub Wiki

Windows Subsystem for Linux (WSL) is shipped with Windows and tied to the Windows release cycle. Windows ships from a single massive codebase, of which WSL is part. WSL was written mostly in C and and has 3 million monthly active users. ADP 57

DrvFs LXSS pico drivers VFS VolFs

WSL implements user services to connect to WSL distros and to run Windows-native applications like CMD.exe. WSL implements a 9P Protocol file server to provide seamless integration of the virtualized Linux filesystem and that of the Windows host.

In version 1, WSL worked under a translation architecture where system calls were translated to NT kernel calls. This meant that applications that used system calls that were newer or more difficult to implement, like GUI applications or Docker, did not run on v1. But WSL2 shifted to a lighweight virtualization model using the Linux kernel. Now Docker runs on WSL2 and GUI applications can run by using an X server.

WSL v1 is available on Azure VMs if nested virtualization is enabled. WSL2 support is forthcoming.

⚠️ **GitHub.com Fallback** ⚠️