docker pull 镜像报错

[root@localhost ~]# docker pull ningx
Using default tag: latest
Trying to pull repository docker.io/library/ningx ... 
Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid

上述的这种错误是时间有问题,更新一下时间。

ntpdate cn.pool.ntp.org
原文地址:https://www.cnblogs.com/iwxk/p/10291546.html