Install Software Prerequisites

Celantur on-premise is a Dockerised application with a simple command-line interface to anonymise images.

Check installed software

You can check whether dependencies are already installed:

  • Docker: docker version
  • NVIDIA driver: nvidia-smi
  • NVIDIA Docker runtime: nvidia-docker version

If any of the above commands returns an error, proceed with the next section or parts of it.

Set up host machine

  1. Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

Add your user to the docker group. It takes effect with the next login.

sudo groupadd docker
sudo usermod -aG docker $USER

If you don't add your user to the docker group, you'll receive the following error when running the docker command:

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http:///var%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied
  1. Install NVIDIA driver with sudo apt install nvidia-driver-515

  2. Install nvidia-container-toolkit: Required to access the GPUs within the Docker containers.

 distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
  1. Test the setup.
docker run --gpus all nvidia/cuda:11.7.1-base-ubuntu22.04 nvidia-smi

Run Celantur on-premise

Once you set up the prerequisites. You can run Celantur on-premise.