Could not able to see the docker image pushed into the container registry.

Satyam Kumar 0 Reputation points
2025-10-14T12:11:12.54+00:00

User's image

az acr repository list --name <ACR-name> --output table --username <removed_due_to PII_Info> --password

am able to successfully push and pull Docker images to and from my Azure Container Registry (ACR). However, when I navigate to the ACR in the Azure Portal and check the Repositories section, I cannot see the Docker images I pushed. Interestingly, when I use the Azure CLI and authenticate with admin credentials, I can retrieve the list of repositories and confirm that the image I pushed does exist in the registry. I have tried creating new container registries in different ways, but the issue persists.

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

1 answer

Sort by: Most helpful
  1. Ankit Yadav 6,760 Reputation points Microsoft External Staff Moderator
    2025-10-14T14:11:45.86+00:00

    Hello Satyam Kumar

    From the Portal snippet shared, it looks like you are not the owner for the ACR resource, could you please answer below queries to understand more about your issue :

    1. Do you have the read roles assigned to your user by the Owner of the resource?
    2. For the azure cli command failure, are you using service Principal to login to the ACR or are you using the Admin credentials?
      If it's service principal, can you please review and share what IAM roles you have assigned to your service principal.
    3. Also is your ACR publicly accessible or is it part of some private endpoint?

    In order to replicate the issue on my end, I created an ACR and assigned AcrPull

    to my teammate at the resource group level, along with the Reader at the resource group scope and he was able to access it.

    User's image

    Additionally, I created a new service principal using the bash script listed out here: https://v4.hkg1.meaqua.org/en-us/azure/container-registry/container-registry-auth-service-principal#create-a-service-principal

    Sharing the Azure CLI sample command that worked for me:

    az acr login --name <ACR-Name> -u <Service principal ID> -p <Service principal password>
    
    az acr repository list --name <ACR-Name> --output table
    

    User's image

    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.