Blog Post

Azure Tools Blog
2 MIN READ

Announcement of migrating to Azure Linux 3.0 for Azure CLI

JeremyLi's avatar
JeremyLi
Icon for Microsoft rankMicrosoft
Jun 02, 2025

Azure Linux 2.0 will reach its End of Life (EOL) in July 2025

Azure CLI 2.74.0 is the final version available on Azure Linux (Mariner) 2.0 and will not receive further updates. We recommend migrating to Azure Linux 3.0 to access newer versions of Azure CLI and continue receiving updates. 

 

A warning message will appear when using Azure CLI on Azure Linux 2.0. To suppress this message, set the AZURE_CLI_DISABLE_AZURELINUX2_WARNING environment variable to any value.

 

We value the experiences of our Azure CLI users, especially when lifecycle changes might cause disruptions. Our goal is to provide clear communication and as much advance notice as possible.

 

Quoting our internal partner, the Azure Linux team, as follows:

Azure Linux 2.0 will reach its End of Life (EOL) on July 2025. After this date, it will no longer receive updates, security patches, or support, which may put your systems at risk. From today, we will not be entertaining package upgrade requests for Azure Linux 2.0.

To ensure continued support, security, and performance, we strongly recommend upgrading to Azure Linux 3.0 by June 2025. Azure Linux 3.0 comes with enhanced features, better performance, and longer support, making it better choice for your infrastructure moving forward. Learn more about 3.0 here.

We understand that migrations can take time, so we encourage you to begin planning your upgrade as soon as possible. Our Azure Linux team is available to assist with the transition, address any concerns, and help make the process as seamless as possible.

 

Is this the same as Mariner?
Yes, Mariner was rebranded to Azure Linux. We will slowly update our documentation and VM/container image tags to reflect this name change

When did Azure Linux 3.0 GA?
Azure Linux 3.0 became generally available in August 2024.

When will Azure Linux 3.0 reach End of Life (EOL)?
We currently support each major version for 3 years after it becomes generally available. Azure Linux 3.0 will reach EOL in Summer 2027.

 

 

Azure CLI 2.74.0 (scheduled for release on 2025-06-03) is the final version to support Azure Linux 2.0. We strongly recommend reviewing your scenarios and using this transition period to ensure a smooth migration.

 

For AKS customers,

Noting that Azure Linux team are still supporting Azure Linux 2.0 until November 2025 to align with AKS v1.31 support. This means Azure Linux 2.0 is getting regular patches until November 2025.

 

If you encounter any issues related to Azure CLI on Azure Linux 3.0, please open an issue in our GitHub repo.

Updated Jun 04, 2025
Version 5.0
No CommentsBe the first to comment