1

I have a weird error. I can pull the image to my local computer with the credentials I'm using on Azure and it works fine. I don't think it is a network related issue.

However when deploying to Azure Container App it does not work.

I have verified the credentials and the container is set up to use Admin Credentials as well.

The following Environment variables are set and correct:

DOCKER_REGISTRY_SERVER_URL
DOCKER_REGISTRY_SERVER_USERNAME
DOCKER_REGISTRY_SERVER_PASSWORD

Platform logs:

2025-11-03T15:17:32.1131640Z Site container: company-product-dev_managedIdentity terminated during site startup. 
2025-11-03T15:17:32.1220106Z ManagedIdentity container failed to startup 
2025-11-03T15:17:43.3634933Z Container start method called. 
2025-11-03T15:17:43.3724850Z Establishing network. 
2025-11-03T15:17:43.4028337Z Pulling image: company.azurecr.io/company/product:latest. 
2025-11-03T15:17:45.4978723Z Container pull image failed with reason: ImagePullFailure. Revert by terminate. 
2025-11-03T15:17:45.4984690Z Container is terminating. Grace period: 5 seconds. 
2025-11-03T15:17:45.4991061Z Container spec TerminationMessagePolicy path 
2025-11-03T15:17:45.5062463Z Container is terminated. Total time elapsed: 0 ms. 
2025-11-03T15:17:45.5065883Z Site container: company-product-dev_main terminated during site startup. 
2025-11-03T15:17:45.5177746Z Failed to start site. Revert by stopping site. 
2025-11-03T15:17:45.5192596Z Site: company-product-dev stopped.

1 Answer 1

1

It turned out to be a build error. The image was built using Apple Silicon and therefore defaulted to linux/arm64. Azure expects linux/amd64.

If anyone else has the same problem then run this command to verify.

docker buildx imagetools inspect company.azurecr.io/company/product:latest

Should say linux/amd64

I hope Azure will have a better error description than the generic ImagePullFailure in the future.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.