PrimeHub runs on Kubernetes, so you’ll need to install a container runtime to help manage and run your containers.

In this section you will do the following.

  1. Install a container runtime on all physical and virtual systems.
  2. Ensure you have access to a container registry.
    1. Install Harbor if a private, self-hosted, registry if required.
  3. [Air-gap Environment] Learn how to push PrimeHub images to your private container registry.

Install a container runtime

If you will be installing PrimeHub in a single-node environment using Microk8s, you can skip this part and move on to configure your container registry. Microk8s comes with containerd as its container runtime.

For users requiring a multi-node environment our recommendation is to install Docker, especially if you plan to use Harbor as a private container registry. However, containerd is also supported.

Docker Engine

Docker provides a convenient script at get.docker.com to install Docker.

Download the Docker installation script.

curl -fsSL <https://get.docker.com> -o get-docker.sh

Run the script.

sudo sh get-docker.sh
sudo usermod -a -G docker $USER

Test that Docker was successfully installed.

docker --version

You should see the Docker version installed, e.g.

Docker version 19.03.8, build afacb8b7f0