Pulling docker image, unauthorized: authentication required

David Leivesley 0 Reputation points
2023-10-23T22:13:42.0266667+00:00

Hello, in general, I can't make a Container Web App download the image from Azure Container Registry. There next error in the logs:

2023-10-23T21:58:20.132Z ERROR - Pulling docker image release.azurecr.io/dqs/dqsicmservice:release failed:
2023-10-23T21:58:20.240Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Head \"https://release.azurecr.io/v2/dqs/dqsicmservice/manifests/release\": unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information."}
2023-10-23T21:58:20.240Z WARN  - Image pull failed. Defaulting to local copy if present.
2023-10-23T21:58:20.242Z ERROR - Image pull failed: Verify docker image configuration and credentials (if using private repository)

For this Web App Identity is enabled and Role AcrPull is assigned but docker still can't download the image. What is missing here?

Screenshot from 2023-10-24 00-10-09

Screenshot from 2023-10-24 00-11-08

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
401 questions
{count} votes