1. 官网链接
https://goharbor.io/docs/2.4.0/
2. 项目地址
https://github.com/goharbor/harbor/releases
3. 安装
wget https://storage.googleapis.com/harbor-releases/release-1.10.0/harbor-online-installer-v1.10.7.tgz tar zxvf harbor-online-installer-v1.10.7.tgz ~
vim harbor.yml
sudo bash ./install.sh
✔ ----Harbor has been installed and started successfully.---- Now you should be able to visit the admin portal at http://192.168.10.99:8090. For more details, please visit https://github.com/goharbor/harbor .
过程会拉取docker镜像到本地
4. 查看结果 http://192.168.10.99:8090/
使用默认账号,admin和默认配置文件中的密码Harbor12345登录
5. 配置开机启动
sudo vim /etc/rc.local
添加
cd $HOME/harbor && docker-compose up -d
6. 为Harbor配置HPPTS
https://goharbor.io/docs/2.0.0/install-config/configure-https/
参考链接:
https://blog.csdn.net/zhangyizhanghao/article/details/122034511
https://www.cnblogs.com/majiang/p/11218792.html