MirrorNest
← Alle Anleitungen

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.

Zielsystem: Any Docker host (Linux)DevOpsContainersOffizielle Website ↗Offizielle Dokumentation ↗
Diese Anleitung basiert auf der offiziellen Dokumentation von Harbor, oben verlinkt — überprüfe dort immer die genauen Paket-/Versionsnamen, bevor du diese Befehle auf einem Produktionsserver ausführst, da sich Distributions- und Projektversionen mit der Zeit ändern.
  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).