Share via

Imagepullbackoff

Inzemam ul haq 0 Reputation points
2025-09-16T15:52:08.3466667+00:00

Hi team,

im getting this error pls help me out
Thanks in advance

Failed to pull image "demoaksworkshop.azurecr.io/rating-api:latest": [rpc error: code = NotFound desc = failed to pull and unpack image "demoaksworkshop.azurecr.io/rating-api:latest": no match for platform in manifest: not found, failed to pull and unpack image "demoaksworkshop.azurecr.io/rating-api:latest": failed to resolve reference "demoaksworkshop.azurecr.io/rating-api:latest": failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://demoaksworkshop.azurecr.io/oauth2/token?scope=repository%3Arating-api%3Apull&service=demoaksworkshop.azurecr.io: 401 Unauthorized]

Br,

Inzemam.

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


1 answer

Sort by: Most helpful
  1. Nikhil Duserla 9,940 Reputation points Microsoft External Staff Moderator
    2025-09-16T16:33:23.72+00:00

    Hello @Inzemam ul haq,

    Are you trying to pull the image from Azure Container Registry (ACR)? If so, please verify the following:

    Image Availability: Ensure the image exists in the ACR and that the image name and tag are correct.

    Platform Compatibility: Confirm that the image supports the platform (e.g., OS/architecture) you're trying to run it on.

    Authentication: The error you're encountering might be due to authentication issues, which typically occur when attempting to pull from a private ACR without the necessary credentials.

    Cluster Access to ACR: Make sure your AKS cluster has appropriate access to the ACR. You can achieve this using one of the following methods:

    Azure AD integration between AKS and ACR

    Service principal with pull permissions

    Managed identity (recommended for AKS)

    I would suggest referring this link- https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/extensions/cannot-pull-image-from-acr-to-aks-cluster

    Let me know if you need help.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.