部署 harbor 时,nginx 容器一直起不来 一起帮忙解决难题,拯救 IT 人的一天
根据 docker container logs nginx,查询器皿日志:
Error response from daemon: configured logging driver does not support reading我资格证书用的是 windows 资格证书网络服务器审签的资格证书,导出 pfx 文件格式后,根据 OpenSSL 开展变换的:
openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key] openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [drlive.crt]获得资格证书后,将资格证书上传入 /data/certs 文件目录;
随后改动 harbor.yml 文档,并变更了:
hostname: harbor.test.local certificate: /data/certs/sh.crt private_key: /data/certs/sh.key随后根据 install.sh 脚本制作开展布署。在安裝全过程都没有见到哪些警示或不正确,而且次序见到:
Creating harbor-core ... Creating harbor-jobservice ... Creating nginx ... ? ----Harbor has been installed and started successfully.----我就用的安装文件是线下安装文件。
这一是什么原因?
经验分享互联网动态
更多阅读推荐