This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11462|Reply: 3

Docker repository (1) Build a private repository based on Harbor

[Copy link]
Posted on 11/17/2020 4:21:45 PM | | | |
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:

centos installation Docker Compose tutorial
https://www.itsvse.com/thread-5164-1-1.html

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, pleaseReply


(End)






Previous:Linux hosts.allow hosts.deny security settings
Next:Docker repository (2) Harbor settings to boot up
 Landlord| Posted on 11/19/2020 11:14:39 AM |
Docker repository (1) Build a private repository based on Harbor
https://www.itsvse.com/thread-9474-1-1.html

Docker repository (2) Harbor settings to boot up
https://www.itsvse.com/thread-9475-1-1.html

Docker repository (3) pushes ASP.NET Core images to Harbor repositories
https://www.itsvse.com/thread-9478-1-1.html

Posted on 1/23/2021 4:17:13 PM |
Look at the hidden
 Landlord| Posted on 10/9/2021 4:29:55 PM |
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com