harbor拉去镜像提示x509: certificate signknown authority
问题描述
docker pull xxx:tag //私有的镜像仓库提示的异常ssl不可信
Error response from daemon ... x509: certificate signknown authority
问题解决
/etc/docker/daemon.json
{
"registry-mirrors":["https://harbor01.test-paas.dc.xx-it.com"],
"insecure-registries": ["harbor01.test-paas.dc.xx-it.com"]
}
设置内网镜像地址及不安全效验
重启docker,再次拉去镜像
systemctl daemon-reload && systemctl restart docker
docker pull harbor01.test-paas.dc.xx-it.com/gpublishgzx-project-953:953.6077