Harbor Introduction
Harbor is an enterprise-grade registry server for storing and distributing Docker images, and extends the open source Docker Distribution by adding some essential features for enterprises, such as security, identity, and management. As an enterprise-grade private registry server, Harbor offers better performance and security. Improve the efficiency of users to use Registry to build and run environments to transfer images. Harbor supports replication of image resources installed on multiple registry nodes, and all images are stored in a private registry to ensure that data and intellectual property rights are controlled in the company's internal network. Harbor also offers advanced security features such as user management, access control, and activity auditing.
Harbor function
- Role-based access control: Users and Docker repositories are organized and managed through "projects", and a user can have different permissions for multiple repositories in the same namespace (project).
- Image replication: Images can be replicated (synchronized) across multiple registry instances. It is especially suitable for load balancing, high availability, hybrid cloud, and multi-cloud scenarios.
- Graphical user interface: Users can browse through the browser, retrieve the current Docker image repository, and manage projects and namespaces.
- AD/LDAP:-Harbor can integrate AD/LDAP existing within the enterprise for authentication management.
- Audit management: All operations on the image repository can be recorded and traced for audit management.
- Internationalization: Localized versions in English, Chinese, German, Japanese, and Russian. More languages will be added.
- RESTful API: Gives administrators more control over Harbor, making it easier to integrate with other management software.
- Easy deployment: Both online and offline installation tools are available, and can also be installed on the vSphere platform (OVA method) virtual appliance.
GitHub address:The hyperlink login is visible.
harbor.yml Profile Details:The hyperlink login is visible.
First of all, the system version I am using is:CentOS Linux release 8.2.2004 (Core)
docker-compose version:docker-compose version 1.27.4, build 40524192
For how to install docker (omitted), the How to install docker-compose reference is as follows:
Download Harbor
Harbor is divided into offline and online versions, this article uses the offline version to install "harbor-offline-installer-v2.1.1.tgz", first download the harbor-offline-installer-v2.1.1.tgz file to the server. (omitted)
Unzip harbor-offline-installer-v2.1.1.tgz
Modify the harbor.yml profile
will harbor.yml.tmplRenameFor harbor.yml, using the vim editor, the main modifications are as follows:
Remember to comment on the https configuration, as shown in the figure below:
Install Harbor
The command is as follows:
The installation is as follows:
Try accessing the UI admin panel:The hyperlink login is visible., account: admin password: 123456, as shown in the figure below:
API interface:The hyperlink login is visible.
Attach harbor.yml Files:
Tourists, if you want to see the hidden content of this post, please Reply
(End)
|