Install Celantur Container on Windows

It is possible to run Celantur on-premise on Windows 11 with WSL (Windows Subsystem for Linux). NVIDIA provides an official documentation to set up the software dependencies.

Requirements

Steps

  1. Install NVIDIA Driver for CUDA on WSL.
  2. Install Windows Subsystem for Linux (WSL 2) with wsl.exe --install and wsl.exe --update.

Check that you can access the NVIDIA driver from within WSL 2 by opening WSL and entering nvidia-smi.exe. You should see detailled information about the GPU.

  1. Install Docker Desktop on Windows.
  2. Activate Docker WSL 2 integration, by checking "Use WSL 2 based engine" in the settings.

Checkbox "Use WSL 2 based engine"

  1. Install NVIDIA Container Toolkit.
 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
  1. Restart Docker.

Option 1: Restart Docker

Option 2 in WSL2:

sudo service docker stop
sudo service docker start

or

sudo systemctl restart docker
  1. Test CUDA containers

Test that the setup is correct by running following sample provided by NVIDIA:

docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi

Run Celantur on-premise

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

Reference