Docker Community Forums

Share and learn in the Docker community.

Not able to pull image using V2

I am seeing below error. Please help.

{ "errors": [ { "code": "BLOB_UNKNOWN", "message": "blob unknown to registry", "detail": "sha256:391556555751770ffbcebbce4ed539454cea660c0be0a726f801c96f353a22e0" } ] }

My request is https://registry.hub.docker.com/v2/library/ubuntu/blobs/sha256:391556555751770ffbcebbce4ed539454cea660c0be0a726f801c96f353a22e0

Got My Auth and manifests URLs work. Getting token from https://auth.docker.io/token?service=registry.docker.io&scope=repository:library/ubuntu:pull

and getting list of digests using https://registry.hub.docker.com/v2/library/ubuntu/manifests/latest

1 Like

Can you please share screenshot for the docker pull command that you are running

Did through Postman. Copying code from Postman.

curl -X GET
https://registry.hub.docker.com/v2/library/ubuntu/blobs/sha256:391556555751770ffbcebbce4ed539454cea660c0be0a726f801c96f353a22e0
-H ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsIng1YyI6WyJNSUlDK2pDQ0FwK2dBd0lCQWdJQkFEQUtCZ2dxaGtqT1BRUURBakJHTVVRd1FnWURWUVFERXpzeVYwNVpPbFZMUzFJNlJFMUVVanBTU1U5Rk9reEhOa0U2UTFWWVZEcE5SbFZNT2tZelNFVTZOVkF5VlRwTFNqTkdPa05CTmxrNlNrbEVVVEFlRncweE9UQXhNVEl3TURJeU5EVmFGdzB5TURBeE1USXdNREl5TkRWYU1FWXhSREJDQmdOVkJBTVRPMUpMTkZNNlMwRkxVVHBEV0RWRk9rRTJSMVE2VTBwTVR6cFFNbEpMT2tOWlZVUTZTMEpEU0RwWFNVeE1Pa3hUU2xrNldscFFVVHBaVWxsRU1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBcjY2bXkveXpHN21VUzF3eFQ3dFplS2pqRzcvNnBwZFNMY3JCcko5VytwcndzMGtIUDVwUHRkMUpkcFdEWU1OZWdqQXhpUWtRUUNvd25IUnN2ODVUalBUdE5wUkdKVTRkeHJkeXBvWGc4TVh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T1dCNFJmZEYiLCJuYmYiOjE1NzI3ODg3NDQsInN1YiI6IiJ9.H0NnPjwq60xMC5KPpImFFbtwak1vBH0KWgedigFYkeJkANA_lt3-TNcTNgAcIXhHWX-QJ2jw2c_o20w4x9W5pXX7sPU-bHD2PjtWrP-odRdc4Sn9mnkzH6gyF0Z88sMQ-rv4zcNVyfh4KFUxKk0SlXbVkqLv3IIav2lNx6FGGVqAZZyZdnUhd9hmuXRzVtKVjN1plZOKSJjd0CzBEIw2jogEL6OHzMBnTxNrkyU5qMnYadOQuHRDiQefrN-UnmzHbFHk5Zoca2rjfTQI_dAVWp3w3HHCZsk2gDT9s82jrrQSaT_atZFljJ0bNL7WqaQYFpCuE9sZlGICDEzsWLO1Rw’
-H ‘Cache-Control: no-cache’
-H ‘Postman-Token: 2055b0d4-0dfb-4fd1-a974-a16466f7fa97’
-H ‘accept: application/vnd.docker.distribution.manifest.v2+json’

This token would have expired, of course.

any pointers on this ?