Microsoft is rolling out a public preview of WSL Containers starting July 1, 2024, which integrates container management directly into the Windows Subsystem for Linux. This update introduces native command-line tools, a NuGet API for Windows applications, and GPU passthrough to support AI and machine learning workloads, positioning the feature as a direct alternative to Docker Desktop.
How will WSL Containers change Windows development?
The new integration allows developers to manage container operations without installing external engines. Microsoft is introducing a dedicated command-line tool, wslc.exe, along with the container.exe alias, to handle these tasks natively within the WSL environment.

To support a wider range of development environments, Microsoft has also released a NuGet API. This allows applications written in C, C++, and C# to interact directly with Linux containers. The underlying architecture utilizes the Moby engine and employs Hyper-V isolation to separate individual containers from other system processes, enhancing security.
wslc.exe syntax early, as the native workflow differs from traditional external engine management.
Industry observers expect the feature to reach general availability in the fall of 2024. However, current versions lack some standard features found in established ecosystems, such as Docker Compose, graphical management dashboards, and an extensive plugin infrastructure.
What performance gains does the new WSL update offer?
Alongside the container preview, Microsoft has released several performance-focused updates for the WSL environment. According to developer documentation, the new virtiofs file system provides Windows file access speeds that are twice as fast as previous versions.
Network connectivity is also being addressed through a new network mode called “consomme.” This mode aims to optimize connectivity for containerized applications. For developers working on high-compute projects, the preview includes GPU passthrough. This allows containerized applications to access hardware acceleration, which is a requirement for CUDA-based AI and machine learning workloads.
Can IT administrators control these new containers?
Microsoft has built administrative controls into the release to satisfy enterprise requirements. IT departments can manage these containers using existing tools like Microsoft Intune, Group Policy (GPO), and ADMX templates. This allows for the enforcement of security policies and configurations across an entire organization.
While the management capabilities are robust for enterprise deployment, the current preview stage remains limited for individual developers who rely on visual interfaces or complex orchestration tools like Docker Compose.
Why is Microsoft releasing Azure Linux 4?
Coinciding with the WSL updates, Microsoft released a preview ISO of Azure Linux 4 on July 1, 2024. This Fedora-based distribution is designed specifically for automated Azure deployments and local virtual machine testing rather than bare-metal or production installations.

Azure Linux 4 features Kernel 6.18 and utilizes the dnf package manager. The ISO download is approximately 1 GB, and the system requires 359 MB of RAM. This release aligns with Microsoft’s strategy to migrate internal services, such as LinkedIn, to its own Linux infrastructure, reducing long-term reliance on third-party distributions.
Comparing the two releases, WSL Containers focuses on improving the Windows developer experience, while Azure Linux 4 strengthens Microsoft’s internal cloud infrastructure and deployment automation.
Frequently Asked Questions
When will WSL Containers be fully available?
Industry observers expect the feature to reach general availability in the fall of 2024.
Is Azure Linux 4 intended for production use?
No. According to Microsoft, Azure Linux 4 is designed for local VM testing and automated Azure deployments, not for production environments or bare-metal installations.
What are the main limitations of the current WSL Container preview?
Developers have noted the absence of Docker Compose, graphical management dashboards, and a wide range of plugins.
How do you plan to use these new container tools in your workflow? Let us know in the comments below or subscribe to our newsletter for more technical updates and industry insights.
