JFrog Container Registry is an advanced, hybrid Docker registry & Helm registry that leverages the world-class artifact repository, JFrog Artifactory, which powers the world’s most extensive workloads.

Preparing Ubuntu VM

First, we prepare the Ubuntu VM. In our environment, we use AWS EC2. Please note on this hardware requirement before preparing the VM, as JFrog might not run if the hardware specification is too low.

Installing Java

JFrog runs on Java, so first thing we need to do is to install JRE/JDK. To install JRE/JDK, we execute the following commands

sudo apt update
sudo apt install openjdk-8-jre-headless
sudo apt install openjdk-8-jdk

Installing JFrog

Installation is very simple, from https://jfrog.com/download-jfrog-container-registry/ we download the standalone Tomcat JFrog version

Login to the Ubuntu VM and run the following

sudo apt-get update
sudo apt install unzip
unzip jfrog-artifactory-jcr-6.16.0.zip

Running the JFrog

Well, we are done with the basic installation. Now, it is time to start the artifactory. We run the following command to start the process.

/home/ubuntu/artifactory-jcr-6.16.0/bin/artifactory.sh

The server will start running and you can see the startup debug log on the screen, see below.

Wait until the boot up finishes, until you see the following in the debug log

Well, the server is running.

JFrog Web Admin

Access the web admin using http://[jfrog-container-registry-host]:8081

Once the server is fully started, you can see the login screen (login using admin:password) as default admin account and password.

Well, you are here, feel free to contact me if you have any comment!

Reference

  1. https://jfrog.com/container-registry/
  2. https://jfrog.com/download-jfrog-container-registry/
  3. https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04
  4. https://www.jfrog.com/confluence/display/JCR/Welcome+to+JFrog+Container+Registry
  5. https://www.jfrog.com/confluence/display/JCR/System+Requirements