Getting started with Harbor 1.1 on Photon OS

In this guide I will show you how to install the latest release of VMware Harbor Registry on Photon OS

Pre-Reqs

  • Photon OS with at least 1 vCPU 2GB RAM and at least 5GB storage – vSphere OVA Here
  • Internet Access from Photon OS to the internet
  • A quite place where you will not get interrupted see my guide here

SSH to your Photon OS VM and login as root or a sudo account and change to the /home directory

cd /home

Next we need to install wget and tar

Type the following command and press enter

tdnf -y install wget tar

Now we need to download the Harbor install files

Note: You can find the latest release here

tar xvf harbor-offline-installer-v1.1.0.tgz

Now change to the harbor directory and edit the harbor config file to update the host name and any other settings you choose

See full guide here

cd harbor
vi harbor.cfg

Press i to enter insert mode then update the host name then hold shift and pres zz to save the file

vi common/templates/registry/config.yml

Almost there, Harbor uses Docker Compose so before we continue we will need to install it with the following command

curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

Make it executable with the following command

chmod +x /usr/local/bin/docker-compose

Now install Harbor with the following command

./install.sh

If all went well you should see this

Open a browser to your host and view the login screen

Next up we will verify your registry is working properly by pushing an image to it

Remember, sharing is caring ->Tweet about this on Twitter6Share on Facebook0Share on LinkedIn7Share on Google+0Email this to someone

One thought on “Getting started with Harbor 1.1 on Photon OS

  1. Pingback: How to verify Harbor 1.1 is successfully installed – VMtoCloud.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*