master
md 23 lines 1.18 KB
Rendered Raw
1 # WSL container API developer reference
2
3 The WSL container API lets Windows app developers use Linux containers as part of their app logic. For an overview of the WSL container feature and the `wslc.exe` command-line interface, see [WSL container](https://learn.microsoft.com/windows/wsl/).
4
5 !!! important
6
7 The WSL container API is currently in **preview** and may have breaking changes in future releases. Please use this preview to evaluate feasibility and then only deploy production grade code once this API goes to general availability in fall 2026.
8
9
10 ## API reference
11
12 The API is available across the following language projections. Each reference documents the same underlying capabilities, layered as **Session → Container → Process**.
13
14 | Language | Namespace / header | Reference |
15 |---|---|---|
16 | C | `wslcsdk.h` (`wslcsdk.lib` / `wslcsdk.dll`) | [C API reference](c/index.md) |
17 | C# | `Microsoft.WSL.Containers` | [C# API reference](csharp/index.md) |
18 | C++ | `Microsoft::WSL::Containers` | [C++ API reference](cpp/index.md) |
19
20 ## Related content
21
22 - [WSL container](https://learn.microsoft.com/windows/wsl/)
23 - [Get started with Linux containers](https://learn.microsoft.com/windows/wsl/)