Cloud Native 5 min read

Microsoft Unveils Linux Containers for Native Windows Execution

Microsoft's preview adds a built‑in Linux container CLI and API, letting developers run Linux containers directly on Windows without third‑party tools, while introducing a new filesystem, network mode, and programmatic integration for Windows apps.

21CTO
21CTO
21CTO
Microsoft Unveils Linux Containers for Native Windows Execution

Microsoft announced a public preview that adds native Linux container support to Windows, introducing a built‑in Linux container command‑line tool ( wslc.exe) and an API that allows Windows applications to run Linux containers as part of their logic.

The CLI follows familiar Docker syntax and includes an alias ( container.exe), making it easy for developers accustomed to Docker to adopt the new tool.

Senior project manager Craig Lowen emphasized that containers are a core component of modern development—from cloud‑native applications and AI workloads to testing and deployment pipelines—so WSL containers provide an enterprise‑grade way to create, run, and manage Linux containers on Windows without extra third‑party utilities.

The preview also brings a new default file system that Microsoft claims can double Windows file‑access speed, a new default network mode for better compatibility, and enhanced memory‑reclamation techniques; however, these changes are disabled by default in the preview.

Microsoft released a WSL container API via a NuGet package supporting C, C++, and C#; the API integrates with MSBuild and CMake, allowing developers to add container build and deployment steps directly into their project files.

Although the features appear stable in the downloadable preview, Microsoft advises against relying on them for critical production workloads until the final release later this year. The preview can be obtained from the official GitHub releases page.

GitHub release page
GitHub release page
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

CLIcloud-nativecontainerizationapiWindowsWSLLinux containers
21CTO
Written by

21CTO

21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.