Hello, I am trying to use /v2/_catalog endpoint to list the repos I have on Docker Hub but it seems like there is a problem with the endpoint. What I am trying to do:
Hit https://index.docker.io/v2/_catalog endpoint with curl without any Authorization and I get 401 error with following header:
On step 3 I was expecting a proper response containing a list of repos, instead I got 401 and error saying insufficient_scope even though the token had exactly the same scope as requested.
Problem description
Hello, I am trying to use
/v2/_catalog
endpoint to list the repos I have on Docker Hub but it seems like there is a problem with the endpoint. What I am trying to do:https://index.docker.io/v2/_catalog
endpoint with curl without any Authorization and I get 401 error with following header:Www-Authenticate
header I create a bearer token with proper scope:/v2/_catalog
endpoint again:What is the problem / what I expected to see
On step 3 I was expecting a proper response containing a list of repos, instead I got 401 and error saying
insufficient_scope
even though the token had exactly the same scope as requested.How to reproduce
Follow the steps 1-3 with proper $USER and $PASS