harbor安装报错
·
no config file: /apps/harbor/harbor.yml
没有harbor.yml文件,文件夹下有harbor.yml.tmpl文件,改名字就可以了
[Step 4]: preparing harbor configs ...
prepare base dir is set to /apps/harbor no config file: /apps/harbor/harbor.yml
#没有harbor.yml文件,文件夹下有harbor.yml.tmpl文件,改名字就可以了
cp harbor.yml.tmpl harbor.yml
ERROR:root:Error: The protocol is https but attribute ssl_cert is not set
[Step 4]: preparing harbor configs ...
prepare base dir is set to /apps/harbor
Error happened in config validation...
ERROR:root:Error: The protocol is https but attribute ssl_cert is not set
#协议是https,但没有设置属性ssl_cert文件,注释掉https协议

Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/log/harbor/
缺失/var/log/harbor/文件夹,建起了就可以了
[Step 5]: starting Harbor ...
[+] Running 1/1
⠿ Network harbor_harbor Created 0.2s
⠋ Container harbor-log Creating 0.0s
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/log/harbor/
#缺失/var/log/harbor/文件夹,建起了就可以了
mkdir /var/log/harbor/
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)