I've tried setting up WebApp for Containers in Azure and selecting a private container registry pointing to an Azure Container Registry in another subscription but the webapp tries to pull the image from registry-1.docker.io
instead of my private one. Can anyone see what I am missing?
WebApp for container is trying to pull from wrong container registry
619 views Asked by Mattias At
1
The issue is caused by the image name. You need to set the image name as
yourACR.azurecr.io/image:tag
if you use a private registry and point to an Azure Container Registry. All the docker images are pulled from the registrydocker.io
in default. For the private registry, you must set the registry name before the image name.