An open source trusted cloud native registry project that stores, signs, and scans content.
Go to file
Steven Zou 3364f76d99
Merge pull request #12698 from kofj/fix_p2p_policy_delete
[FIX] Delete executions of the P2P policy.
2020-08-17 22:18:16 +08:00
.github Upgrade python and robot for drone build 2020-08-12 10:26:12 +00:00
api fix(preheat): fix the swagger definition of preheat get log api 2020-08-17 12:41:02 +08:00
contrib feat(doc) change some doc about harbor.yml.tmpl 2020-05-12 11:28:34 +08:00
docs Moving docs from the harbor to the website repo 2020-07-21 12:41:24 -04:00
icons Implement the icon API to get the icon of artifact 2020-08-15 08:40:38 +08:00
make Implement the icon API to get the icon of artifact 2020-08-15 08:40:38 +08:00
src Fix. 2020-08-17 21:40:37 +08:00
tests fix(scan): fix the permission checking for artifact scanning 2020-08-17 09:55:38 +00:00
tools chore(mocks): add make targets to generate and check mocks 2020-07-22 01:59:32 +00:00
.dockerignore Ignore folders that not need when build docker image (#12578) 2020-08-10 16:29:12 +08:00
.drone.yml Add git/golang/dns config in drone image 2020-08-13 07:24:54 +00:00
.gitignore update chart sdk to support helm v3 2020-03-02 11:39:09 +08:00
.gitmessage Update README and .gitmessage 2018-07-17 16:42:03 +08:00
ADOPTERS.md Moving docs from the harbor to the website repo 2020-07-21 12:41:24 -04:00
CHANGELOG.md Update CHANGELOG.md for v1.8.0 2019-06-04 11:20:28 +01:00
codecov.yml chore(mocks): add make targets to generate and check mocks 2020-07-22 01:59:32 +00:00
CONTRIBUTING.md Moving docs from the harbor to the website repo 2020-07-21 12:41:24 -04:00
gskey.sh.enc Enable travis to update logs to GSR (#5949) 2018-09-27 08:54:56 +08:00
LICENSE Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
Makefile refactor(api): generate project apis by go-swagger 2020-08-15 16:10:57 +00:00
OWNERS.md Update OWNERS.md 2019-10-21 02:34:09 -05:00
README.md Remove erroneous link in README 2020-07-21 12:41:34 -04:00
RELEASES.md Update the support matrix 2020-02-27 19:59:39 +08:00
ROADMAP.md Update ROADMAP.md 2020-06-19 20:29:12 -05:00
SECURITY.md Document the versioning and release process, also updating the SECURITY.md 2019-10-18 14:24:42 +08:00
VERSION bump up base version to v2.1.0 (#11814) 2020-05-20 12:36:27 +08:00

Harbor

CI Coverage Status Go Report Card CII Best Practices Codacy Badge Code scanning - action Nightly Status CONFORMANCE_TEST

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 master branch may be in an unstable or even broken state during development. Please use releases instead of the master 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's involved and how Harbor plays a role, read the CNCF announcement.

Features

  • Cloud native registry: With support for both container images and Helm charts, Harbor serves as registry for cloud native environments like container runtimes and orchestration platforms.
  • Role based access control: Users access different repositories through 'projects' and a user can have different permission for images or Helm charts under a project.
  • Policy based replication: Images and charts can be replicated (synchronized) between multiple registry instances based on policies with using filters (repository, tag and label). Harbor automatically retries a replication if it encounters any errors. This can be used to assist loadbalancing, achieve high availabiliy, and faciliate multi-datacenter deployments in hybrid and multi-cloud scenarios.
  • Vulnerability Scanning: Harbor scans images regularly for vulnerabilities and has policy checks to prevent vulnerable images from being deployed.
  • LDAP/AD support: Harbor integrates with existing enterprise LDAP/AD for user authentication and management, and supports importing LDAP groups into Harbor that can then be given permissions to specific projects.
  • OIDC support: Harbor leverages OpenID Connect (OIDC) to verify the identity of users authenticated by an external authorization server or identity provider. Single sign-on can be enabled to log into the Harbor portal.
  • Image deletion & garbage collection: System admin can run garbage collection jobs so that images(dangling manifests and unreferenced blobs) can be deleted and their space can be freed up periodically.
  • Notary: Support signing container images using Docker Content Trust (leveraging Notary) for guaranteeing authenticity and provenance. In additon, policies that prevent unsigned images from being deployed can also be activated.
  • Graphical user portal: User can easily browse, search repositories and manage projects.
  • Auditing: All the operations to the repositories are tracked through logs.
  • RESTful API: RESTful APIs are provided to facilitate administrative operations, and are easy to use for integration with external systems. An embedded Swagger UI is available for exploring and testing the API.
  • Easy deployment: Harbor can be deployed via Docker compose as well Helm Chart, and a Harbor Operator was added recently as well.

Architecture

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

API

  • Harbor RESTful API: The APIs for most administrative operations of Harbor and can be used to perform integrations with Harbor programmatically.

Install & Run

System requirements:

On a Linux host: docker 17.06.0-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.

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

  • Live Demo - A demo environment with the latest Harbor stable build installed. For additional information please refer to this page.
  • Video Demos - Demos for Harbor features and continuously updated.

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 of 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 please let the Harbor Security Team know with the details of the vulnerability. We'll send a confirmation email to acknowledge your report, and we'll send an additional email when 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: