Mattias
Mattias

Reputation: 77

WebApp for container is trying to pull from wrong container registry

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? enter image description here

Upvotes: 1

Views: 832

Answers (1)

Charles Xu
Charles Xu

Reputation: 31384

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 registry docker.io in default. For the private registry, you must set the registry name before the image name.

Upvotes: 2

Related Questions