Azure Container Registry not able to authorize a read only user when using docker v2 api but docker commands work
Mohammed Irfan Ullah
1
Reputation point
I have created a token with repository pull Scope. So this token basically acts as a read only user. When I do login and pull using the docker commands it works fine. But the same when using the curl commands of docker v2 it is giving unauthorized, the same when using admin user works fine.
Problem is observed only when we use a repository pull token for authorization in curl gives "code": "UNAUTHORIZED",
"message": "authentication required
Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
511 questions
Sign in to answer