1.Harbor can be installed by one of three approaches
Online installer: The installer downloads Harbor's images from Docker hub.
For this reason, the installer is very small in size.
Offline installer: Use this installer when the host does not have an Internet
connection. The installer contains pre-built images so its size is larger.
All installers can be downloaded from the official release page.
This guide describes the steps to install and configure Harbor by using the online
or offline installer. The installation processes are almost the same.
If you run a previous version of Harbor, you may need to update harbor.cfg and
migrate the data to fit the new database schema. For more details, please refer
to Harbor Migration Guide.
In addition, the deployment instructions on Kubernetes has been created by the
community. Refer to Harbor on Kubernetes for details.
2.Prerequisites for the target host(前置条件)
Harbor is deployed as several Docker containers, and, therefore, can be deployed on any Linux distribution that supports Docker. The target host requires Python, Docker, and Docker Compose to be installed.
2.1 Hardware(硬件要求)
Resource
Capacity
Description
CPU
minimal 2 CPU
4 CPU is preferred
Mem
minimal 4GB
8GB is preferred
Disk
minimal 40GB
160GB is preferred
2.2 software(软件要求)
Software
Version
Description
Python
version 2.7 or higher
Note that you may have to install Python on Linux distributions (Gentoo, Arch) that do not come with a Python interpreter installed by default
Docker engine
version 1.10 or higher
For installation instructions, please refer to: Redirecting…