WSL Containers Now Support Linux Workloads on Windows in Public Preview
Microsoft has officially launched the public preview of WSL containers, a groundbreaking feature integrated into the Windows Subsystem for Linux (WSL), allowing Windows users to natively build and execute Linux container workloads. This advancement, initially showcased at Microsoft Build 2026, is now accessible through the pre-release channel of WSL, specifically build 2.9.3. Developers can install it via `wsl --update --pre-release` or by direct download from GitHub.
This new capability is particularly beneficial for popular containerization tools such as Docker Desktop, Podman Desktop, and Rancher Desktop. These tools can now leverage the underlying platform improvements in WSL containers, offering Windows users a more performant and streamlined experience for their containerized applications. The feature is designed to support a wide array of use cases, including cloud-native applications, AI workloads, and various testing and deployment pipelines.
Key enhancements underpinning WSL containers include significant improvements in memory management, with memory reclaim features that efficiently return unused memory to the Windows host. This ensures that resources are released once the Linux virtual machine no longer requires them, optimizing system performance. Furthermore, the introduction of `virtiofs` as a new default file system for WSL containers promises to double the speed of Windows file access, addressing a long-standing performance bottleneck.
Enterprise tooling is also being extended to support this new feature. The existing Microsoft Defender for Endpoint plugin for WSL can now read Linux container events, providing consistent security coverage across different distributions and containers. Additionally, VS Code dev containers have gained `wslc` support, simplifying the setup for developers by allowing them to set the Docker Path to `wslc` in their dev container settings. Microsoft anticipates the general availability of WSL containers in the fall of 2026, marking a significant step forward for container development on the Windows platform.
Read original source