|Written in||Go, Shell script, C, Roff, Python|
|Source model||Open source|
|Initial release||April 1, 2020|
|Latest release||2.0.20231004 / October 11, 2023|
|Marketing target||Cloud infrastructure and edge products and services|
|Kernel type||Monolithic (Linux kernel)|
|License||Primarily MIT License, with some components under Photon License, Apache License v2, GPLv2, and LGPLv2.1|
CBL-Mariner (in which CBL stands for Common Base Linux) is a free and open-source Linux distribution that Microsoft has developed. It is the base container OS for Microsoft Azure services and the graphical component of WSL 2.
CBL-Mariner is being developed by the Linux Systems Group at Microsoft for its edge network services and as part of its cloud infrastructure. The company uses it as the base Linux for containers in the Azure Stack HCI implementation of Azure Kubernetes Service. Microsoft also uses CBL-Mariner in Azure IoT Edge to run Linux workloads on Windows IoT, and as a backend distro to host the Weston compositor for WSLg.
In a similar approach to Fedora CoreOS, CBL-Mariner only has the basic packages needed to support and run containers. Common Linux tools are used to add packages and manage security updates. Updates are offered either as RPM packages or as complete disk images that can be deployed as needed. Using RPM allows adding custom packages to a base CBL-Mariner image to support additional features and services as needed. Notable features include an iptables-based firewall, support for signed updates, and a hardened kernel.
Microsoft released the operating system in 2020. Its source code is available on GitHub, mainly under the MIT License, with some components under Photon License, Apache License v2, GPLv2, and LGPLv2.1. Building CBL-Mariner requires the Go programming language, QEMU utilities, and RPM.
- "Release 2.0.20231004 · microsoft/CBL-Mariner". GitHub.
- "CBL-Mariner". GitHub. 21 December 2021.
- Branscombe, Mary (December 2, 2020). "What is Microsoft doing with Linux? Everything you need to know about its plans for open source". TechRepublic.
- Foley, Mary Jo (November 11, 2020). "CBL-Mariner: Microsoft's internal Linux distribution for Azure first-party services and edge appliances". ZDNet.
- Bisson, Simon (November 10, 2020). "Microsoft adds a new Linux: CBL-Mariner". InfoWorld.
- Foley, Mary Jo (2021-04-21). "New Windows 10 test build adds first preview of Linux GUI apps on WSL". ZDNet. Retrieved 2021-04-23.
- Pronovost, Steve (April 19, 2021). "WSLg Architecture". Windows Command Line. Microsoft. Retrieved August 14, 2021.
- Azure Kubernetes Service on Azure Stack HCI: deliver Storage Spaces Direct to containers
- Enabling Linux based Azure IoT Edge Modules on Windows IoT