moby: Cannot pull image, 'authentication required'

I try to pull images from docker.io but it fails with “Error pulling image (precise) from ubuntu, Authentication is require”. Maybe its the same error as the closed #2196

 # docker pull ubuntu
Pulling repository ubuntu
8dbd9e392a96: Error pulling image (precise) from ubuntu, Authentication is required.
b750fe79269d: Error pulling image (quantal) from ubuntu, Authentication is required.
2013/11/11 16:35:10 Server error: 404 trying to fetch remote history for ubuntu
# docker version
Client version: 0.6.6
Go version (client): go1.2rc3
Git commit (client): 6d42040
Server version: 0.6.6
Git commit (server): 6d42040
Go version (server): go1.2rc3

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 31 (12 by maintainers)

Commits related to this issue

Most upvoted comments

I’d forgotten my password to docker, so reset it. Runningdocker login (with my new password) worked for me.

You can try something like sudo ntpdate 0.pool.ntp.org to have your computer automatically try to fix the clock.

Fixing the clock/timezone fixed it for me

If you don’t want to login to docker hub, then docker logout may also work. (It worked for me)

For what it’s worth: I just had this problem and the reason for my issue was because I hadn’t yet signed into the Docker CLI via docker login. Worth a try if you haven’t already done so.

Hi @woofie56,

Could you please try the following:

  1. Check if the current date is the same as this one http://www.timeanddate.com/worldclock/city.html?n=1440
  2. If it’s not the same, try this: sudo date -s “28 NOV 2013 hh:mm:ss” Make sure to change hh:mm:ssfor the actual time from the hyperlink
  3. Confirm if the time now is correct by comparing yours and the one from the website
  4. Try to pull the image again once the local time is corrected