3
votes

I'm trying to pull an image like this in my project repository and I keep getting this error.

I don't have problems with authentification and docker login works fine.

$ docker pull gcr.io/[PROJECT-ID]/[IMAGE]:[TAG]

Error response from daemon: pull access denied for gcr.io/[PROJECT-ID]/[IMAGE]:[TAG], repository does not exist or may require 'docker login': denied: Permission denied for "0.2.0" from request "/v2/[PROJECT-ID]/[IMAGE]/manifests/[TAG]".

Any ideas?

1
By any chance are you using a private cluster? If so, there are some limitations about pulling images from public Docker hub. Another similar kind of thread which will be helpful. - Alexandre
@Alexandre Can you please be more specific about what commands should I execute? - metk
Are you using both private clusters and trying to pull images from a public Docker hub? If yes, then it should be the document where you will find those commands. You can also look at this document for further assistance. - Alexandre
Which Docker version are you using? Does this error show up on every pull or just on gcr.io? - Serhii Rohoza

1 Answers

1
votes

You can configure your docker credential with your own credential by executing this command

gcloud auth configure-docker