1.配置https
https://github.com/goharbor/harbor/blob/master/docs/configure_https.md
2.harbor安装notary插件
./install.sh --with-notary
3.复制证书到客户端
开启https后,客户端需把ca.crt 复制到 /etc/docker/certs.d/domain.com(或ip)/ 和$HOME/.docker/tls/domain.com(ip):4443/
4.客户端设置环境变量
<