We can create an Azure Container Registry (ACR) in different ways, using Azure CLI or Azure Portal or Powershell. In this post, we shall see how to create an Azure Container Registry using Azure CLI.
The first step in creating an Azure Container Registry (ACR) using Azure CLI is to log in to Azure CLI. Open a command prompt and enter the command.az loginThis will open a browser where you can enter your Azure account details, once the login is successful a success message is displayed in the command prompt.
Next, we can create an Azure Container Registry (ACR) using the following command.
az acr create --resource-group myResourceGroup --name <acrName> --sku Basic
No comments:
Post a Comment