Difficulty: beginner
Estimated Time: 10-15 minutes

Harbor is an open source trusted cloud native registry project that stores, signs, and scans content.

In this scenario, you will learn how to deploy Harbor and push your first image to the registry.

In this scenario, you learned how to deploy Harbor. Download the release at https://github.com/goharbor/harbor/releases/tag/v1.5.2

Learn more about Harbor at https://github.com/goharbor/harbor

Deploy Harbor Registry

Step 1 of 4

Step 1 - Deploy Registry

Harbor is released as an installer that includes default configuration and installation scripts. Download and extract the installer with the command: curl -LO https://storage.googleapis.com/harbor-releases/harbor-online-installer-v1.5.2.tgz; tar -xvf harbor-online-installer-v1.5.2.tgz; cd harbor/

The installer outputs the file into a harbor directory.

To configure Harbor the IP address or URL for the registry needs to be configured. The command below replaces the default registry domain with the host IP address.

sed -i s/reg\.mydomain\.com/[[HOST_IP]]/g harbor.cfg

The complete output is viewable at cat harbor.cfg

To deploy, run the installation script with ./install.sh