docker出现x509: certificate has expired or is not yet valid错误的一种解决方案
在拉取docker镜像nvidia/cuda:10.2-devel-ubuntu-16.04时,出现中止,错误信息如下:Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid查阅资料,主要是由两种情况导致的,一是时间不同步,二是证书过期。(1)对于第一种情况,同步一下时间即可,具体操作为:apt-get install nptntpdate cn.pool.ntp.org
原创
2021-01-07 11:40:31 ·
2001 阅读 ·
1 评论