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
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…
Red Hat OpenStack Services on OpenShift (RHOSO) provides the foundation to build a private or public…
Kubernetes (often shortened to “K8s”) is an open-source system for automating the deployment, scaling, and…
Ceph is an open-source, distributed storage platform that provides object, block, and file storage in…
View Comments