Harbor Installation Prerequisites

Harbor can be deployed to a Docker host using Docker Compose, or to a Kubernetes cluster using Helm.

Resource Requirement

The table below outlines the minimum and recommended resource requirement for deploying Harbor.

ResourceMinimumRecommended
CPU2 CPU4 CPU
Mem4 GB8 GB
Disk40 GB160 GB

Software Stack Requirements Compose

The following table lists the software versions that must be installed on the target host.

SoftwareVersionDescription
Docker EngineVersion > 20.10Docker Engine Installation
Docker ComposeDocker compose > 2.3Docker Compose is part of Docker Engine
OpenSSLLatest (optional)Used to generate certificate and keys for Harbor

Network ports

Harbor requires that the following ports be open on the target host.

PortProtocolDescription
443HTTPSHarbor portal and core API accept HTTPS requests on this port. You can change this port in the configuration file.
80HTTPHarbor portal and core API accept HTTP requests on this port. You can change this port in the configuration file.

Install Harbor on Kubernetes

To install docker with Helm, see the dedicated repository github.com/goharbor/harbor-helm

Next Steps

Download the Harbor Installer.