mcr.microsoft.com/azure-cli does not have installed curl

Sakit Atakishiyev 30 Reputation points Microsoft Employee
2024-03-26T08:17:17.4066667+00:00

Today I followed this tutorial https://learn.microsoft.com/en-us/azure/container-instances/container-instances-managed-identity#use-user-assigned-identity-to-get-secret-from-key-vault

On the step when we need execute curl command it return errors and says curl not installed.

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
709 questions
0 comments No comments
{count} votes

Accepted answer
  1. Achraf Ben Alaya 1,056 Reputation points MVP
    2024-03-26T09:08:48.19+00:00

    Hi ,

    if you are using linux you can install curl using the following command :

    sudo apt-get install curl
    
    

    else ,on windows you can use a package manager like this :

    Chocolatey, run choco install curl

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


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.