harbor README

The project's README from github.com/goharbor/harbor. As one markdown file: README.md.

Harbor

CI Go Report Card Coverage Status CII Best Practices Codacy Badge Code scanning - action OCI Distribution Conformance Tests FOSSA Status Helm Chart on Artifact Hub OpenSSF Scorecard

notificationCommunity Meeting
The Harbor Project holds bi-weekly community calls in two different timezones. To join the community calls or to watch previous meeting notes and recordings, please visit the meeting schedule.



Note: The main branch may be in an unstable or even broken state during development. Please use releases instead of the main branch in order to get a stable set of binaries.

Harbor

Harbor is an open source trusted cloud native registry project that stores, signs, and scans content. Harbor extends the open source Docker Distribution by adding the functionalities usually required by users such as security, identity and management. Having a registry closer to the build and run environment can improve the image transfer efficiency. Harbor supports replication of images between registries, and also offers advanced security features such as user management, access control and activity auditing.

Harbor is hosted by the Cloud Native Computing Foundation (CNCF). If you are an organization that wants to help shape the evolution of cloud native technologies, consider joining the CNCF. For details about who is involved and how Harbor plays a role, read the CNCF announcement.

Features

Architecture

For learning the architecture design of Harbor, check the document Architecture Overview of Harbor.

API

Install & Run

System requirements:

On a Linux host: docker 20.10.10-ce+ and docker-compose 1.18.0+.

Download binaries of Harbor release and follow Installation & Configuration Guide to install Harbor.

If you want to deploy Harbor on Kubernetes, please use the Harbor chart.

Refer to the documentation for more details on how to use Harbor.

Verifying Release Signatures

Starting with v2.15.0, Harbor release artifacts are cryptographically signed using Cosign to ensure authenticity and integrity.

Download the installers and signature bundles from the Harbor releases page.

Quick Verification

# Install Cosign (v2.0+)
brew install sigstore/tap/cosign

# Verify signature
cosign verify-blob \
  --bundle harbor-offline-installer-v2.15.0.tgz.sigstore.json \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity-regexp '^https://github.com/goharbor/harbor/.github/workflows/publish_release.yml@refs/tags/v.*$' \
  harbor-offline-installer-v2.15.0.tgz

OCI Distribution Conformance Tests

Check the OCI distribution conformance tests report of Harbor.

Compatibility

The compatibility list document provides compatibility information for the Harbor components.

Community

Demos

Partners and Users

For a list of users, please refer to ADOPTERS.md.

Security

Security Audit

A third party security audit was performed by Cure53 in October 2019. You can see the full report here.

Reporting security vulnerabilities

If you've found a security related issue, a vulnerability, or a potential vulnerability in Harbor, do not file a public issue. Report it privately via GitHub private vulnerability reporting: open the Security tab and click Report a vulnerability. The Harbor Security Team will acknowledge your report, and will follow up in the advisory thread once we've identified the issue positively or negatively.

For further details please see our complete security release process.

License

Harbor is available under the Apache 2 license.

This project uses open source components which have additional licensing terms. The official docker images and licensing terms for these open source components can be found at the following locations:

Fossa Status

FOSSA Status

harbor (goharbor/harbor)

Searching Database…

29.6K ·GitHub
这是什么?Harbor 是一个开源的可信云原生镜像仓库,用于存储、签名和扫描内容,主要是容器镜像和 Helm chart。它是由 CNCF 托管的项目。
为什么不直接用 Docker Hub,而要自己搭建一个镜像仓库?这是你自己托管的镜像仓库:Harbor 在开源的 Docker Distribution 基础上增加了安全、身份和管理功能。把它部署在靠近你的构建和运行环境的地方,还能提高镜像传输效率。
怎么把它跑起来?下载 Harbor 发行版的二进制文件,然后按照《安装与配置指南》(Installation & Configuration Guide) 操作。如果用 Kubernetes,可以使用 Harbor chart;也支持 Docker Compose 和 Harbor Operator。
主机需要满足什么条件?一台装有 Docker 20.10.10-ce 及以上版本和 docker-compose 1.18.0 及以上版本的 Linux 主机。
可以直接用 main 分支吗,还是必须用正式发行版?请使用发行版——main 分支在开发过程中可能不稳定,甚至无法运行,所以它不能作为稳定二进制文件的来源。
除了容器镜像,它还能存别的东西吗?可以——Harbor 也可以作为 Helm chart 的仓库,而且同一套基于项目(project)的访问控制对 chart 和镜像同样适用。
安装之前能先在线试用吗?可以——README 中链接了一个在线演示环境,运行的是最新的稳定版 Harbor,另外还有持续更新的功能视频演示。
它的代码接受过独立的安全审计吗?有——Cure53 在 2019 年 10 月对 Harbor 进行了一次第三方安全审计,完整报告在 README 中有链接。
我怎么确认下载的发行版是正版的?从 v2.15.0 开始,Harbor 的发行版制品都会用 Cosign 进行加密签名——从发布页面下载签名包,校验成功后会输出 'Verified OK'。
Creator
goharbor
Size
261.1 MB
Stars
29.6K
Age
10y
Commits · 90 Days