MY VM Details: –
OS – CentOS 8 Stream
HostName – harbor.kdinesh.in
DNS Name – kdinesh.in
Harbor Installation Steps: –
(Note: – $ means command)
$ sudo yum install -y yum-utils
—Add Docker Repo
$ sudo yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo
—Install Docker
$ sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin –nobest –allowerasing
— Start Docker
$ sudo systemctl start docker
—Enable the docker service
$ systemctl enable docker
Generating SSL Certificate
You can download the Script file below to generate the SSL certificate.
Run gen-harbor-certs.sh file
$ ./ gen-harbor-certs.sh
---Enter a fully qualified domain name. Certificates will be generated and copied into the /data/cert directory.
2. Download and install Harbor :-
Download the Harbor Offline installer from Harbor official portal using the following link
I downloaded Harbor v2.6.3 Version, and you can choose and download it based on your requirements.
$ wget https://github.com/goharbor/harbor/releases/download/v2.6.3/harbor-offline-installer-v2.6.3.tgz
Extract the downloaded tar file
—tar zxv Harbor file
$ tar zxvf harbor-offline-installer-v2.6.3.tgz
–Switch to the harbor directory
$ Cd harbor
–copy default harbor.yml.tmpl to harbor.yml
$ cp harbor.yml.tmpl harbor.yml
–update hostname, certificate file path, and harbor password in the harbor.yaml file
–prepare harbor installation
$ ./prepare
–Install harbor
$ ./install.sh –with-notary –with-chartmuseum
Check the docker containers status to see whether all harbor containers are running or not
$ Docker ps -a
Deployment completed, you can access HARBOR using http://Hostname/IP
Retrieval-Augmented Generation (RAG) is a way of getting an LLM to answer questions using your…
Kolla-Ansible is an official OpenStack project and a production-recommended deployment method. Ubuntu 24.04 · 3…
NVIDIA Base Command Manager (BCM) provides cluster management software for streamlining cluster provisioning, workload management,…
Shipping a new version of an application is always a small act of faith. Even…
The following steps demonstrate how to back up and restore an OpenShift virtual machine using…
OpenShift Virtualization allows virtual machines (VMs) to run natively on Kubernetes alongside container workloads. Using…
View Comments