赞
踩
想在黑裙上安装Alist进行网盘挂载,结果发现docker注册表总是报错,后在命令行执行docker pull,却报如下错误。
docker pull xhofe/alist:latest
latest: Pulling from xhofe/alist
4edfc05e3af2: Pulling fs layer
5c9f13539ec3: Pulling fs layer
150503794722: Pulling fs layer
ba969078b329: Waiting
2831ac40fe72: Waiting
error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/db/dbeb8908885dbfafa23af1064d4bcd56f7587367ca3d51e60ec2066dd904ba41/data?verify=1715241666-lhv4YdDhP2Xjh%2F%2B%2FVzfa9ehUd80%3D": x509: certificate has expired or is not yet valid: current time 2024-05-09T15:11:07+08:00 is after 2021-09-30T14:01:15Z
很久都无法解决,偶一日发现大佬提供方法,尝试了下立马解决。分享如下:
1.ssh登录群辉后台
2.sudo su切换为root
3.执行如下命令更新证书:
mv /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt.bak && sudo curl -Lko /etc/ssl/certs/ca-certificates.crt https://curl.se/ca/cacert.pem && synoservice --restart pkgctl-Docker
再次执行问题解决。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。