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/

 

posted on 2019-06-20 15:56  冰冰爱学习  阅读(1401)  评论(0编辑  收藏  举报

导航