MirrorNest
← Tutte le guide

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.

Sistema: Any Docker host (Linux)DevOpsContainersSito ufficiale ↗Documentazione ufficiale ↗
Questa guida è redatta a partire dalla documentazione ufficiale di Harbor, linkata sopra — verifica sempre lì i nomi esatti di pacchetti/versioni prima di eseguire questi comandi su un server di produzione, poiché le versioni della distribuzione e del progetto cambiano nel tempo.
  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).