Java教程

【ubuntu 20.04】安装部署内网镜像服务器Harbor-1.10.7

本文主要是介绍【ubuntu 20.04】安装部署内网镜像服务器Harbor-1.10.7,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

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

 

这篇关于【ubuntu 20.04】安装部署内网镜像服务器Harbor-1.10.7的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!