docker从私有镜像库pull/push镜像问题:Error response from daemon: Get https://xxxx.com/: x509: certificate signed by unknown authority

docker从私有镜像库pull/push镜像问题:Error response from daemon: Get https://harbor.op.xxxx.com/v2/: x509: certificate signed by unknown authority

环境centos7+docker 1.17

解决方法:
1. 添加https证书,方法自己搜下
2. 加--insecure-registry参数

配置文件位置
/usr/lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd --insecure-registry harbor.op.xxxx.com

上一篇:Unable to connect to the server: x509: certificate signed by unknown authority


下一篇:Linux修改SSH端口和禁止Root远程登陆