标签:证书过期 doc docke from use dock 镜像 报错 span
[root@node3 docker]# docker pull gcr.io/google_containers/pause-amd64:3.1 Error response from daemon: Get https://gcr.io/v2/: x509: certificate has expired or is not yet valid
这种错误,一般都是本地系统时间错误导致报错证书过期,所以先查看本地系统时间
[root@node3 docker]# date Wed Jun 10 19:08:23 CST 2020
安装ntp同步时间
[root@node3 docker]# yum install -y ntp [root@node3 docker]# crontab -l */2 * * * * /usr/sbin/ntpdate 182.92.12.11;/sbin/hwclock -w > /dev/null #2>&1
同步完时间重新拉取镜像成功!!!
docker pull 失败报错:x509: certificate has expired or is not yet valid
标签:证书过期 doc docke from use dock 镜像 报错 span
原文地址:https://www.cnblogs.com/Dev0ps/p/13352106.html