Docker Community Forums

Share and learn in the Docker community.

Docker run fails to pull images (but docker pull works fine)


(Rgseba) #1

Hi guys, I’m having a weird problem downloading images from my private registry.
When I run “docker run” and the image is not available locally, it fails to download it from my registry (reason: authentication is required)
But, if I run “docker pull” manually, it downloads properly (obviously, after that the image is available locally and “docker run” works fine)

Both commands run with the same user.
I tried to relogin, triple checked my time configuration, restarted docker registry service. Don’t know where else to look. Can someone give me a hand?

Thanks in advance


(Jianghong123) #2

hi,I met the same problems as you. can you tell me how to solve you problem.Thank you for you reply.My e-mail address is 1456098533@qq.com.