Microsoft released the public preview of WSL containers in June 2026. This new feature allows running Linux containers directly on Windows without installing Docker Desktop. The main improvement is the adoption of the virtiofs filesystem, which speeds up Windows file access by up to 2x.
📑Table of Contents
Overview and Background of WSL Containers
Previously, WSL 2 required separate tools like Docker Desktop for container execution. WSL containers (wslc) integrate container runtime into WSL itself, eliminating the need for additional runtimes. According to the official Microsoft Dev Blog, a dedicated CLI (wslc.exe) and API are provided, enabling native Linux container operations from Windows applications.
This change simplifies development environment setup. In enterprise settings, it avoids Docker Desktop licensing and resource overhead. The public preview is available in the WSL 2.9.3 pre-release.
Performance Gains from the virtiofs Filesystem
virtiofs has been introduced as the new default filesystem. Compared to the previous 9p filesystem, it delivers up to 2x faster access to Windows-side files. Microsoft’s announcement states that file I/O latency is significantly reduced, making container file operations noticeably faster.
virtiofs is a virtio-based shared filesystem optimized for WSL containers. It shows clear benefits in I/O-intensive tasks such as source code builds and log output. Benchmark numbers are available in the official blog.
Using the wslc CLI and API
The wslc CLI is provided as wslc.exe and supports basic container operations from the command line. The API is accessible via the NuGet package “Microsoft.WSL.Containers” for C#, C++, and WinRT.
Examples include starting/stopping containers and managing images via wslc commands. An experimental “consomme” networking mode has been added for corporate VPN compatibility, improving interoperability with existing WSL networking. API details are in the Microsoft Dev Blog release notes.
Installation Steps and Prerequisites
Installation is straightforward via the WSL update command. Run the following in PowerShell:
wsl --update --pre-release
Alternatively, download and apply the WSL 2.9.3 pre-release directly from the GitHub release. Prerequisites include Windows 11 or the latest Windows 10 build with WSL 2 enabled.
After the update, the wslc command becomes available. Existing WSL distributions continue to work, with new features enabled additionally.
Limitations and Future Plans
The current preview has several limitations. Defender for Endpoint integration is in private preview. Not all WSL features are fully supported in wslc yet. General Availability (GA) is targeted for fall 2026.
The consomme mode is experimental, so stability should be monitored. Microsoft plans to iterate based on user feedback.
Frequently Asked Questions
Comparison Table
| Item | Docker Desktop | WSL containers (wslc) |
|---|---|---|
| Filesystem | 9p-based with latency | virtiofs up to 2x faster |
| Installation | Separate install required | WSL update only |
| API Integration | Limited | Native API provided |
| VPN Support | Standard | Experimental consomme mode |
Source: Microsoft Dev Blog (June 2026), Impress Watch (June 2026)
Related articles:
- Tokyu Warns Against Charging Power Banks on Train Outlets
- Monitoring External Communications When DNS and SNI Become Invisible
- TLS Configurator: Generate Secure TLS Configs for nginx, Apache, Postfix & More
Summary
The public preview of WSL containers makes Linux container development on Windows more accessible. The performance gains from virtiofs and the simplified installation are the main attractions. During the preview period leading to GA, trying it out to verify improvements in your development workflow is recommended.
Related new article:
- WSL Container Public Preview: Run Linux Containers Natively on Windows Without Docker – This published update adds current operational context for WSL Containers Public Preview: Native Linux Containers on Windows Without Docker.
Author
krona23
Over 20 years in the IT industry, serving as Division Head and CTO at multiple companies running large-scale web services in Japan. Experienced across Windows, iOS, Android, and web development. Currently focused on AI-native transformation. At DevGENT, sharing practical guides on AI code editors, automation tools, and LLMs in three languages.
🔥 Most Popular
- Hermes Agent v0.17.0 "The Reach Release" — iMessage, WhatsApp, and Background Sub-Agents
- AI Code Editor Comparison 2026: 6 Tools Tested, Why I Use Zed + Claude Code
- Claude Pricing Plans: Which One Is Actually Worth It? (June 2026)
- Claude Code CLI vs Web vs Desktop: A Daily User's Guide (2026)
- Claude Desktop Won't Install? Windows & Mac Fixes That Worked (2026)













Leave a Reply