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

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

转载于:https://www.cnblogs.com/jiuchongxiao/p/8941919.html

你可能感兴趣的:(docker从私有镜像库pull/push镜像问题:Error response from daemon: Get https://xxxx.com/: x509: certificate signe...)