harbor/docs/harbor-doc-reorg/install_config/_index.md
2019-12-18 16:22:42 +01:00

2.7 KiB

Back to table of contents


Harbor Installation and Configuration

This section describes how to perform a new installation of Harbor.

If you are upgrading from a previous version of Harbor, you might need to update the configuration file and migrate your data to fit the database schema of the later version. For information about upgrading, see Upgrading Harbor.

You can also use Helm to install Harbor on a Kubernetes cluster, to make it highly available. For information about installing Harbor with Helm on a Kubernetes cluster, see the Harbor High Availability Guide in the https://github.com/goharbor/harbor-helm repository.

Before you install Harbor, you can test its functionality on a demo server that the Harbor team has made available. For information, see Test Harbor with the Demo Server.

You can use Harbor with different 3rd party replication adapters, OIDC adapters, and scanner adapters. For information about the supported adapters, see the Harbor Compatibility List.

Installation Process

The standard Harbor installation process involves the following stages:

  1. Make sure that your target host meets the Harbor Installation Prerequisites.
  2. Download the Harbor Installer
  3. Configure HTTPS Access to Harbor
  4. Configure the Harbor YML File
  5. Run the Installer Script

If installation fails, see Troubleshooting Harbor Installation .

Post-Installation Configuration

For information about how manage your deployed Harbor instance, see Reconfigure Harbor and Manage the Harbor Lifecycle.

By default, Harbor uses its own private key and certificate to authenticate with Docker. For information about how to optionally customize your configuration to use your own key and certificate, see Customize the Harbor Token Service.

After installation, you perform configuration operations in the Harbor interface. However, Harbor also provides a command line interface (CLI) that allows yoy to Configure Harbor User Settings at the Command Line.

Harbor Components

The table below lists the components that are deployed when you deploy Harbor.

Component Version
Postgresql 9.6.10-1.ph2
Redis 4.0.10-1.ph2
Clair 2.0.8
Beego 1.9.0
Chartmuseum 0.9.0
Docker/distribution 2.7.1
Docker/notary 0.6.1
Helm 2.9.1
Swagger-ui 3.22.1

Back to table of contents