
Windows Subsystem for Linux
Use Linux distributions, tools, and workflows directly on Windows, without managing a traditional virtual machine or dual-boot setup.



What working with WSL looks like
Set up WSL
Install WSL and a Linux distribution with one command. Create your Linux username and password on first launch, and add distributions later.
Use your development tools
Keep Visual Studio Code and Windows Terminal on Windows while your toolchain and debugger run in Linux. Use the same environment with Git and Docker Desktop.
Manage WSL for teams
Configure resource, network, and firewall settings, and apply organization policies to help teams maintain consistent development environments.


A container CLI in the box
Use wslc to run, build, debug, and test Linux containers. This release adds container restart, file copy in and out, system info, network attach and detach, healthchecks, a configurable stop timeout, a configurable storage path, and an event stream.
Call containers from Windows code
A NuGet package brings container support to C, C++, and C# applications, so a Windows app can run Linux code as part of its own logic. The API integrates with MSBuild and CMake, so container build and deploy steps become part of your normal build.
Managed and monitored
The Microsoft Defender for Endpoint plugin reports container activity alongside your existing Windows signals. Administrators can allow or block container access and set a registry allowlist, so only approved images can be pulled.
Faster files and better networking
WSL containers use the virtiofs file system, which Microsoft measures as twice as fast for Windows file access, and a networking mode called consomme that relays Linux traffic through Windows so containers inherit your existing network and security configuration. Memory is also returned to Windows more steadily when a container is idle.
Multi-container workflows are next
Support for running your existing compose files is the most requested feature and the current focus of the team. Work also continues on the WSL fundamentals underneath, which benefits WSL distributions and other container tools built on WSL.

