Microsoft Makes Linux Container Support Generally Available in WSL
Microsoft is rolling out general availability of WSL Containers, extending Windows Subsystem for Linux beyond running distributions to building, running, and deploying Linux containers directly on Windows. Users can enable the feature through wsl --update, which installs the new wslc.exe command-line tool along with a container.exe alias for familiar commands. A WSL Containers API also lets native Windows apps launch and interact with containers programmatically, enabling scenarios like local AI workloads and locally running cloud-based containerized applications.
The general availability release adds features missing from the preview, including container restarts, file copying in and out, health checks, network connect and disconnect commands, real-time container events, mount support, and configurable storage locations. Microsoft is also targeting businesses: WSL Containers integrates with Microsoft Defender for Endpoint so security teams can monitor process, file, and network activity inside containers, while Microsoft Intune can disable the feature entirely or restrict developers to images from approved container registries to meet security and compliance requirements.
Microsoft is working with the broader developer ecosystem as well. VS Code Dev Containers can now use wslc as their default driver, and both Aspire and the VS Code Containers extension support WSL Containers. The company confirms that Docker Compose-style support is coming next, aiming for "wsl compose up" to work with existing compose.yaml files unchanged. Improvements to WSL's underlying networking and cross-OS file performance are also in progress.