美文网首页
docker x509: certificate has exp

docker x509: certificate has exp

作者: 大树8026 | 来源:发表于2019-06-13 12:13 被阅读0次

docker x509: certificate has expired or is not yet valid

问题:


image.png

这种错误,一般都是本地系统时间错误导致报错证书过期,所以先查看本地系统时间解决方式:

  1. 查看时间,发现时间不对

date

Fri Apr 19 00:42:45 EDT 2019

  1. 同步时间

ntpdate cn.pool.ntp.org

13 Jun 00:09:26 ntpdate[10263]: step time server 203.107.6.88 offset 4749977.777636 sec

  1. 查看时间是否正常

date

Thu Jun 13 00:09:36 EDT 2019

  1. 成功下载镜像(问题解决)

docker search centos

image.png

相关文章

网友评论

      本文标题:docker x509: certificate has exp

      本文链接:https://www.haomeiwen.com/subject/cewjfctx.html