栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Harbor安装

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Harbor安装

Harbor安装

官网地址:https://goharbor.io/

**下载地址:**https://github.com/goharbor/harbor/releases/download/v2.4.2/harbor-offline-installer-v2.4.2.tgz

部署
1. tar xvf harbor-offline-installer-v2.4.2.tgz
2. cd harbor
3. cp harbor.yml.tmpl harbor.yml
主要修改hostname,port  不使用https将其注释掉
 
# The IP address or hostname to access admin UI and registry service.
# DO NOT use localhost or 127.0.0.1, because Harbor needs to be accessed by external clients.
hostname: xl.image
 
# http related config
http:
  # port for http, default is 80. If https enabled, this port will redirect to https port
  port: 5000
 
# https related config
#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
4. ./prepare
5. ./install.sh
6. install完成后可以通过docker ps -a  查看harbor容器是否都成功启动
7. 访问xl.image:5000 即可看到harbor界面,愉快的使用harbor吧。
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/940315.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号