Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Latest commit

 

History

History
62 lines (43 loc) · 1.52 KB

File metadata and controls

62 lines (43 loc) · 1.52 KB

Create an Azure Container Registry

acr/create/README.md

Prerequisites

This example assumes you have previously completed the following example:

  1. Create an Azure Resource Group

Create an Azure Container Registry

Setup environment variable for the Azure Container Registry using the command line below:

  export ACR_NAME=joazcr$RANDOM

To create the Azure Container Registry use the following command line:

  az acr create \
    --name $ACR_NAME \
    --resource-group $RESOURCE_GROUP \
    --sku Basic \
    --admin-enabled true

Cleanup

Do NOT forget to remove the resources once you are done running the example.

1m