MirrorNest
← Tüm kılavuzlar

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.

Hedef: Any Docker host (Linux)DevOpsContainersResmi ana sayfa ↗Resmi belgeler ↗
Bu kılavuz, yukarıda bağlantısı verilen Harbor kendi resmi belgelerinden derlenmiştir — dağıtım ve proje sürümleri zamanla değiştiğinden, bu komutları bir üretim sunucusunda çalıştırmadan önce tam paket/sürüm adlarını her zaman orada kontrol edin.
  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).