Error response from daemon: pull access denied for TestDockerImage

Faced the similar problem while pulling the nginx image with command:

docker run --rm -p 8088:80 ngnix

Actualy, i was providing the wrong image name and it does not report for wrong image and displayed the above message.And hence after correcting the image name using command

docker run --rm -p 8088:80 nginx

It worked fine after this change.


The registry "PrivateRepo" requires a login to all pulling images from it. If you have access to the machine where jenkins is running, you can simply do that by executing:

docker login PrivateRepo

Alternatively, you can do it from jenkins as described in here.