I am trying to get the image manifest of my private Docker image.
GET /v2/name/manifests/reference
It is returning the header:
Www-Authenticate →Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="repository:{username}:pull"
So I made a request: Www-Authenticate →Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="repository:{username}:pull"
and I got the token.
I added it to the header Authorization: Bearer {token}
.
But I still get 401 response.
Where do I put my username and password?