What is
Harbor
?
Harbor is an open source container registry that stores, signs and scans images and Helm charts. It adds role-based access control, vulnerability scanning, replication and auditing on top of Docker Distribution.
At a glance
Attribute | Value |
|---|---|
Primary use case | Private registry for container images and Helm charts with scanning, signing and access control |
Deployment type | Self-hosted on Kubernetes (Helm chart, Harbor Operator) or a Docker host (Docker compose) |
Pricing model | Free, open source (Apache 2) |
API compatibility | RESTful API with embedded Swagger UI; OCI distribution conformance tests report published |
Supported integrations | LDAP/AD, OIDC identity providers, Kubernetes, Docker, Helm, other registries via replication adapters, scanner adapters |
Source type | Open |
AEP branch | Tooling |
AEP category | Integration & Delivery |
AEP subcategory | Registry |
Profile
Harbor extends the open source Docker Distribution with security, identity and management functions. Repositories are grouped into projects, and users with the developer, maintainer and project administrator roles manage members and configure their own projects. Vulnerability scanners, replication targets and OIDC providers connect through adapters.
Focus
Harbor serves organisations that need a consistent, secure way to manage container images and Helm charts across cloud native compute platforms such as Kubernetes and Docker.
Background
Harbor is hosted by the Cloud Native Computing Foundation (CNCF) as a Graduated project. It is available under the Apache 2 license.
Features
Vulnerability scanning
Harbor scans images regularly for vulnerabilities. Policy checks stop vulnerable images from being deployed.
Content signing and validation
Harbor signs images as trusted and validates signed content.
Policy-based replication
Harbor synchronises images and charts between multiple registry instances, including other Harbor instances. Repository, tag and label filters control what is copied, and failed replications are retried automatically. This supports load balancing, high availability and multi-datacenter deployments in hybrid and multi-cloud setups.
Identity integration and access control
Harbor authenticates users against enterprise LDAP/AD or an OIDC identity provider, with single sign-on to the portal. Imported LDAP groups can receive permissions on specific projects, and each user can hold different permissions within a project.
Auditing and garbage collection
Harbor logs every repository operation for auditing. Garbage collection jobs that administrators run delete dangling manifests and unreferenced blobs to free storage.
RESTful API and web portal
A RESTful API covers most administrative operations and integrations, with an embedded Swagger UI for exploring and testing it. A graphical portal lets users browse and search repositories and manage projects.
Pros and cons
Pros
One registry that scans, signs and controls access to both container images and Helm charts.
Multi-tenant projects let separate teams share one registry without sharing permissions.
Running the registry close to build and run environments can improve image transfer efficiency.
The Apache 2 license makes Harbor free to use and modify.
Cons
Harbor is self-managed, so the team must install, upgrade, back up and operate the registry and its infrastructure.
Harbor needs a Kubernetes environment or a system with Docker support to run on.
FAQs
What is Harbor?
Harbor is an open source registry for cloud native artifacts such as container images and Helm charts. It adds vulnerability scanning, image signing, role-based access control, replication and auditing to Docker Distribution.
How much does Harbor cost?
Harbor has no license fee. Its code is released under the Apache 2 license, which allows free use and modification.
How is Harbor deployed?
Teams install Harbor themselves on any Kubernetes environment or on a system with Docker support. The installation options are Docker compose, a Helm chart and the Harbor Operator.
Which identity systems does Harbor integrate with?
Harbor connects to enterprise LDAP or Active Directory for authentication and can import LDAP groups. It also supports OpenID Connect providers, including single sign-on to the Harbor portal.
Can Harbor sync images with other registries?
Yes. Replication policies copy images and charts between registry instances, using filters on repository, tag and label, and retry automatically after errors.
Who maintains Harbor?
Harbor is a Cloud Native Computing Foundation project at Graduated status. It is developed by a worldwide open source community.
