Docker pull error : x509: certificate has expired or is not yet valid

后端 未结 13 1958
轻奢々
轻奢々 2021-02-19 00:13

Description of problem:

I\'m trying to pull ubuntu from the public registry with this command :

docker pull ubuntu

And then i got this

13条回答
  •  生来不讨喜
    2021-02-19 00:32

    I got this error, it was related to system date/time settings. (I realize the OP stated his date was OK, just adding this comment for other people who might arrive at this page where this is the issue - like I did!!)

    Had an issue when I booted up my machine and the time/date settings were incorrect. Later, after my machine had the correct date/time settings, I tried to pull an image from docker and got the above error.

    I restarted the docker daemon running locally, so it picked up the new date/time and can now pull successfully again.

提交回复
热议问题