docker pull x509 错误处理方法
完成的错误提示,已提示证书错误:
docker pull harbor.xxx.com/public/nginx:1.7.9 Error response from daemon: Get https://harbor.xxx.com/v2/: x509: certificate signed by unknown authority
处理方法:
修改docker.service,添加启动参数 --insecure-registry harbor地址
ExecStart=/opt/k8s/bin/dockerd --log-level=error $DOCKER_NETWORK_OPTIONS --insecure-registry harbor.xxx.com --data-root /data/docker/