Unable to pull docker image, getting 'remote error: access denied'

zjor picture zjor · Sep 22, 2016 · Viewed 25k times · Source

I'm trying to check the installation docker pull hello-world

But getting the following error:

Pulling repository hello-world
Get https://index.docker.io/v1/repositories/library/hello-world/images: remote error: access denied

I have CentOS 6.5

Docker version 1.7.1, build 786b29d/1.7.1

I'm in a corporate network but curl https://index.docker.io/v1/repositories/library/hello-world/images forks fine.

What might be the issue?

Thanks in advance!

Answer

Kunok picture Kunok · Jul 21, 2018

I got this error while I was trying to pull mongodb image instead of mongo.

So make sure image name is correct. The very same error message happens on both run and pull commands.