You need to register the subscription using Powershell:
Register-AzureRmResourceProvider -ProviderNamespace Microsoft.ContainerRegistry
Az CLI:
az provider register –n Microsoft.ContainerRegistry
As we add more regions, the service in new region needs to know about your subscription. So please register your subscription again so that ACR service in newer regions will know about your subscription
See [here] (#RegisterSub)
Azure CLI - I get this error - No resource with type Microsoft.ContainerRegistry/registries can be found with name
Please run this command and check if you have set the right subscription
az account show
Please run this command to set the correct subscription
az account set --subscription <correct-subscription>
See [this] (#RegisterSub) and [this] (#SetCorrectSub)
Please make sure you login before you pull/push repositories
docker login <yourregistry>.azurecr.io
Azure container registries have a typical login url of the format *.azurecr.io
. A customer might like to use a custom domain for the registry. Follow this guide to achieve that.
To move your repositories to a newly created registry, follow this guide.