MirrorNest
← All guides

Harbor

Harbor is a CNCF graduated, enterprise-grade container image registry that adds role-based access control, vulnerability scanning, image signing, and replication on top of the OCI distribution spec.

Target: Any Docker host (Linux)DevOpsContainersOfficial homepage ↗Official docs ↗
This guide is synthesized from Harbor's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
  1. 1Verify prerequisites

    A Linux host with Docker Engine and Docker Compose installed, meeting Harbor's minimum hardware requirements (2 CPU / 4GB RAM minimum).

  2. 2Download the offline installer

    wget https://github.com/goharbor/harbor/releases/download/v2.15.0/harbor-offline-installer-v2.15.0.tgz
    tar xzvf harbor-offline-installer-v2.15.0.tgz
    cd harbor

    Replace v2.15.0 with the current release from Harbor's GitHub releases page.

  3. 3Configure harbor.yml

    Copy the template and set hostname to your server's IP or FQDN (not localhost), and set harbor_admin_password.

    cp harbor.yml.tmpl harbor.yml

    Default admin login is admin / Harbor12345 unless you override harbor_admin_password — always use HTTPS in production by configuring the certificate paths.

  4. 4Run the installer

    sudo ./install.sh
  5. 5First login

    Harbor's UI is served over the configured hostname/port (443 by default with HTTPS configured).