Pushing docker image to ACR

Bomasi Confidence Nwakegho 20 Reputation points
2024-04-23T12:18:47.1666667+00:00

I am try to build and push docker image to ACR, using azure cloud shell cli, but I keep getting the following error even though I have successfully login to docker: "Message: ACR Tasks requests for the registry bomaregistry and 75101389-d7c7-418 are not permitted"

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

Accepted answer
  1. vipullag-MSFT 24,711 Reputation points
    2024-04-23T14:24:33.43+00:00

    Hello Bomasi Confidence Nwakegho

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    ACR is temporarily pausing ACR Tasks runs from Azure free credits. Refer: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tasks-overview#what-is-acr-tasks

    If your subscription is a free trail this could be the reason why this is failing.

    User's image

    Hope this helps.


1 additional answer

Sort by: Most helpful
  1. Sedat SALMAN 13,180 Reputation points
    2024-04-23T15:32:00.6833333+00:00

    in addition to vipullag make sure your user account or service principal has either the "AcrPush" or "Owner" role assigned to the ACR.

    https://learn.microsoft.com/en-us/azure/container-registry/container-registry-roles