How to run Azure CLI in a Docker container

0 votes
Hi Guys,

I want to install Azure CLI on top of the Docker container. So that it will consume very limited resources. How can I install that?
Nov 13, 2020 in Azure by akhtar
• 38,170 points
359 views

1 answer to this question.

0 votes

H@akhtar,

You can use Docker to run a standalone Linux container with the Azure CLI pre-installed. Docker gets you started quickly with an isolated environment to run the CLI in. The image can also be used as a base for your own deployments.

$ docker run -it mcr.microsoft.com/azure-cli
answered Nov 13, 2020 by MD
• 95,060 points

Related Questions In Azure

0 votes
1 answer

How to get the list of names of Azure blob files in a container?

We can get some additional info like Size, ...READ MORE

answered Jun 27, 2018 in Azure by club_seesharp
• 3,450 points
9,485 views
0 votes
0 answers

How to create a sub-container in Azure?

How to create a sub-container in Azure ...READ MORE

Jun 28, 2019 in Azure by sabby
• 4,370 points
387 views
0 votes
1 answer

How to create a sub-container in Azure?

You can create a container named "content" and ...READ MORE

answered Jun 28, 2019 in Azure by Perry
• 17,100 points
620 views
0 votes
1 answer

How can I schedule a pipeline to run in azure datafactory?

You can use the scheduler trigger or ...READ MORE

answered Jan 2, 2020 in Azure by Sirajul
• 58,990 points
148 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 58,990 points
224 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 28, 2020 in Azure by nbavis
• 380 points
338 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 58,990 points
198 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 58,990 points
938 views
0 votes
1 answer

How to create a container in Azure Cloud?

Hi@akhtar, You can launch a container on any ...READ MORE

answered Nov 13, 2020 in Azure by MD
• 95,060 points
34 views
0 votes
1 answer

How to create a managed container registry in Azure?

Hi@akhtar, To run a container, you need an ...READ MORE

answered Nov 13, 2020 in Azure by MD
• 95,060 points
31 views