az acr

Manage private registries with Azure Container Registries. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/acr.

az acr create --name {{registry_name}} --resource-group {{resource_group}} --sku {{sku}}

az acr login --name {{registry_name}}

docker tag {{image_name}} {{registry_name}}.azurecr.io/{{image_name}}:{{tag}}

docker push {{registry_name}}.azurecr.io/{{image_name}}:{{tag}}

docker pull {{registry_name}}.azurecr.io/{{image_name}}:{{tag}}

az acr repository delete --name {{registry_name}} --repository {{image_name}}:{{tag}}

az acr delete --name {{registry_name}} --resource-group {{resource_group}} --yes

az acr repository list --name {{registry_name}} --output table