What is CBL-Mariner? I wanted Ubuntu 22.04

K. Kong 126 Reputation points
2024-04-05T07:59:20.6166667+00:00

I have just provisioned a new Azure VM and selected Ubuntu 22.04 on x64.

After logging in for the first time, lsb_release -a gives:

LSB Version:    n/a
Distributor ID: Mariner
Description:    CBL-Mariner 2.0.20240301
Release:        2.0.20240301
Codename:       Mariner

What is this? I wanted Ubuntu to port over an existing application. Is this Mariner thing 100% compatible? Will I hit into issues later on?

How can I get the plain Ubuntu 22.04 which has been tried and tested as far as my app is concerned?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,911 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anveshreddy Nimmala 3,545 Reputation points Microsoft Vendor
    2024-04-05T11:00:28.99+00:00

    Hello K. Kong,

    Welcome to microsoft Q&A, Thankyou for posting your query here.

    CBL-Mariner, short for Common Base Linux Mariner, is a Linux distribution developed by Microsoft for its cloud infrastructure and edge products and services.

    CBL-Mariner and Ubuntu are Linux distributions, they are not 100% compatible.

    Ubuntu uses apt, while Mariner uses tdnf, different default software packages, and potentially different system libraries.

    If you've already created the VM with CBL-Mariner, you won't be able to switch the OS to Ubuntu.

    If your application has been tried and tested on Ubuntu 22.04, it's understandable you'd want to continue using that specific environment.

    I have created VM in azure using Ubuntu 22.04

    User's image

    and lsb_release -a gives:

    User's image

    Hope this helps you.

    If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    f0c6ee09-372a-46c3-b232-747087569b29


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.