Watch 20 Star 34 Fork 9

Jonathan / harborGoApache-2.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Harbor项目是一款优秀的docker镜像管理平台,其代码写的非常之优秀,就拿镜像同步来说代码写的那是一个老练,里面有好多设计思想如FSM(状态机模式)、worker等,都是非常值得学习和借鉴的,我本人利用工作之余深入到harbor的代码研究当中,把一些关键点进行标注,使其他同学能够更好的了解和使用Harbor。 spread retract

Clone or download
Notice: Creating folder will generate an empty file .keep, because not support in Git


Build Status Coverage Status


Project Harbor is an enterprise-class registry server that stores and distributes Docker images. Harbor extends the open source Docker Distribution by adding the functionalities usually required by an enterprise, such as security, identity and management. As an enterprise private registry, Harbor offers better performance and security. Having a registry closer to the build and run environment improves the image transfer efficiency. Harbor supports the setup of multiple registries and has images replicated between them. In addition, Harbor offers advanced security features, such as user management, access control and activity auditing.


  • Role based access control: Users and repositories are organized via 'projects' and a user can have different permission for images under a project.
  • Policy based image replication: Images can be replicated (synchronized) between multiple registry instances. Great for load balancing, high availability, multi-datacenter, hybrid and multi-cloud scenarios.
  • LDAP/AD support: Harbor integrates with existing enterprise LDAP/AD for user authentication and management.
  • Image deletion & garbage collection: Images can be deleted and their space can be recycled.
  • Graphical user portal: User can easily browse, search repositories and manage projects.
  • Auditing: All the operations to the repositories are tracked.
  • RESTful API: RESTful APIs for most administrative operations, easy to integrate with external systems.
  • Easy deployment: Provide both an online and offline installer. Besides, a virtual appliance for vSphere platform (OVA) is available.

Install & Run

System requirements:

On a Linux host: docker 1.10.0+ and docker-compose 1.6.0+ .

On vSphere: vCenter 5.5+ for deployment of Harbor's virtual appliance.

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

Refer to User Guide for more details on how to use Harbor.


Slack: Join Harbor's community here: VMware {code}, Channel: #harbor.
Email: harbor@ .
WeChat Group: Add WeChat id connect1688 to join WeChat discussion group.
More info on partners and users.


We welcome contributions from the community. If you wish to contribute code and you have not signed our contributor license agreement (CLA), our bot will update the issue when you open a pull request. For any questions about the CLA process, please refer to our FAQ. Contact us for any questions: harbor .


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:

Comments ( 1 )

Sign in for post a comment



231008 48f1a665 1899542 231017 9a6720c6 1899542