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/