Azure Linux 2.0 (CBL-Mariner) vs 3.0
Support dates, which one to use and how to upgrade.
- 2.0 (CBL-Mariner) End of life · ended Jul 2025
- 3.0 Supported · until Aug 2027
2.0 (CBL-Mariner) or 3.0: which should you use?
Azure Linux 2.0 (CBL-Mariner) reached end of life on 31 Jul 2025 and no longer gets security fixes. Use Azure Linux 3.0, which is supported until 1 Aug 2027.
Azure Linux 2.0 (CBL-Mariner) vs Azure Linux 3.0 at a glance
| Detail | Azure Linux 2.0 (CBL-Mariner) | Azure Linux 3.0 |
|---|---|---|
| Release date | 9 May 2022 | 1 Aug 2024 |
| Status | End of life | Supported |
| Latest update | 2.0.20260331 | 3.0.20261116 |
| Security support until | 31 Jul 2025 | 1 Aug 2027 |
| Free support length | 3.3 years | 3 years |
| Time left | None | 8 months |
| Release page | Azure Linux 2.0 (CBL-Mariner) → | Azure Linux 3.0 → |
How to upgrade from 2.0 (CBL-Mariner) to 3.0
Microsoft has no in-place upgrade between major Azure Linux versions (3.0 to 4.0 moved to a Fedora base). Rebuild your VM or container images on the new version and redeploy. On Azure Linux 3.0 and older, use tdnf instead of dnf for updates.
Frequently asked questions
What is the difference between Azure Linux 2.0 (CBL-Mariner) and Azure Linux 3.0?
Azure Linux 3.0 came out 2.3 years after Azure Linux 2.0 (CBL-Mariner) (Aug 2024 vs May 2022). Support ends Jul 2025 for Azure Linux 2.0 (CBL-Mariner) and Aug 2027 for Azure Linux 3.0.
Should I upgrade from Azure Linux 2.0 (CBL-Mariner) to Azure Linux 3.0?
Azure Linux 2.0 (CBL-Mariner) reached end of life on 31 Jul 2025 and no longer gets security fixes. Use Azure Linux 3.0, which is supported until 1 Aug 2027.
More Azure Linux comparisons
Release data: Microsoft release announcements, checked by our editors. Spotted a mistake? Tell us.
