【解决】error pulling image configuration: Get https:// ...... x509: certificate has expired or is not y
【问题】进行镜像拉取时报错
【分析】
很多人会被第一句所蒙蔽,按照网上教程进行修改etc/sysconfig/docker,之后发现还是没有用。
其实这里重点是最后一句"certificate has expired",这里一般是本地时间不正确导致证书验证过期,同步时间即可。
【解决】
date -R cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate ntp.api.bz
date -s "2019-12-12 20:12:30"
0% (0)
0% (0)