龙芯私有镜像无法拉取问题解决
现象:
Error response from daemon: Get"https://harbor.loongnix.cn/v2/" x509: certificate has expired or is not yet valid
解决办法:
1、vi /usr/lib/systemd/system/docker.service
下边找到ExecStart条,然后修改:
ExecStart=/usr/bin/dockerd --insecure-registry harbor.loongnix.cn
wq保存
2、然后执行:
systemctl daemon-reload
service docker restart
然后就可以拉取了