1、Harbor安装方式:
在线安装、离线安装、源码安装、helm chart、Operation安装
2、Docker-CE安装
3、docker-compose安装
4、下载离线安装包
wget https://github.com/goharbor/harbor/releases/download/v2.6.2/harbor-offline-installer-v2.6.2.tgz
5、解压并修改配置
# vim harbor.yml hostname 192.168.100.110 #主机名称或者IP地址 # https related config # https: #不使用https安全加密端口 # https port for harbor, default is 443 # port: 443 # The path of cert and key files for nginx # certificate: /your/certificate/path # private_key: /your/private/key/path
6、生成配置
./prepare
7、执行安装命令
./install.sh --with-trivy --with-chartmuseum
8、查看安装后的服务状态
docker-compose ps
9、访问
在浏览器输入地址:http://192.168.100.110:80 用户名:admin 密码:Harbor12345ccan
参考:https://mp.weixin.qq.com/s/oj-C8ioIRfj9uYMDsDsA1w
标签:Harbor,离线,harbor,https,path,安装 From: https://www.cnblogs.com/a120608yby/p/16880856.html