当前位置:网站首页>harbor部署
harbor部署
2022-07-23 05:47:00 【study_小达人】
基础环境:
1、harbor依赖docker,首先安装docker
2、还需要安装docker-compose
3、进入解压目录将harbor.yml.tpl 复制为harbor.yml 并修改配置
4、./prepare
./install.sh
docker-compose ps 查看组件状态
5、如果需要开启自带的扫描插件
docker-compose stop
./prepare --with-clair
docker-compose -f docker-compose.yml up -d 指定docker-compose文件从新启动
harbor数据:
Harbor 所依赖的数据可分为两大类:临时数据和持久化数据。
1、临时数据
Harbor 组件所依赖的配置文件和环境变量。这些数据通常在 Harbor 安装目录的 common 目录下
2、持久数据
data目录包含的文件夹和相应的作用如下:
ca_download:存放用户访问Harbor时所需的CA。
cert:Harbor启动HTTPS服务时所需的证书和密钥。
chart_storage:存放Helm v2版本的Chart数据。
database:存放数据库的目录,Harbor、Clair和Notary数据库的数据都在此目录下。
job_logs:存放JobService的日志信息。
redis:存放Redis数据。
registry:存放OCI Artifacts数据(对于大部分用户来说是镜像数据)。
secret:存放Harbor内部组件通信所需的加密信息。
trivy-adapter:存放Trivy运行时相关的数据。
边栏推荐
- Analysis of inheritablethreadlocal and Alibaba's transmittablethreadlocal design ideas
- [Reading Notes "Phoenix architecture" - a large-scale distributed system with reliable architecture. Zhou Zhiming] (I)
- DNS域名解析服务
- Article on the basic technology needed to build hybrid app
- 简洁描述raft与paxos在设计上的共同点和不同点
- Analyze redis server
- 剖析Redis服务器
- Hcip --- condition matching and OSPF Protocol
- 【数据库】基础理论
- Homework of the fifth week
猜你喜欢

Unity used trilib plug-in under URP pipeline to load model material incorrectly

C custom queue set

路由与交换技术——静态路由

学习日记——(路由与交换技术)ACL访问控制列表

HCIP-第一次实验

Gameframework: resource hot code analysis, check version information, download version files, verify version files, get the number of updated files, download files, taskpool

学习日记——(路由与交换技术)DHCP(动态主机配置协议)

手动配置DHCP服务

Hcip --- HCIA knowledge review (I)

DHCP原理与配置
随机推荐
C: stack stack source code, array stack, chain stack
FTP实验及概述
Learning diary - (routing and switching technology) single arm routing
Delete node in binary sort tree
读《凤凰架构》- RPC的历史与知识
Nas里搭建Frpc客户端【超级无脑】
2小时1000人吃饭,要多少台座椅?
Learning diary (routing and switching technology) -- floating static routing and default routing
C #: TOPK: take the largest 100 before 10000 numbers, and sort the heap
Overview of OpenSSL self visa process
OSPF的链路扩展配置
详解TCP连接的建立
Hcip --- condition matching and OSPF Protocol
Unity3d:UGUI源码,Rebuild优化
[Reading Notes "Phoenix architecture" - a large-scale distributed system with reliable architecture. Zhou Zhiming] (I)
Sql Server性能分析,查看慢查询
DHCP second experiment
Hcip--- BGP related configuration
Unity3d:ugui source code eventsystem input system FAQ
C#:stack栈源码,数组栈,链栈