Page cover

Dependencies

Please ensure that your server used to run VisionAIre is deployed with some depedencies below before continue to the installation processes.

Installing Dependencies: Ubuntu 22.04 or above

  1. Install nvidia driver 5.35 (link)

  2. Install docker runtime latest (link)

  3. Install nvidia-docker latest (link)

  4. Install docker-compose latest (link)

1. Install nvidia-driver 5.25.0 (GNOME GUI Nvidia Installation Method)

Open the Software & Updates application window. Select TAB Additional Drivers and choose any proprietary NVIDIA driver. The higher the driver number the latest the version.

2. Install docker-ce runtime

  • Update the apt package index and install packages to allow apt to use a repository over HTTPS

  • Add Docker’s official GPG key

  • Use the following command to set up the stable repository.

  • Update the apt package index, and install the latest version of Docker Engine and containerd, or go to the next step to install a specific version:

  • Verify that Docker Engine is installed correctly by running the hello-world image.

This command downloads a test image and runs it in a container. When the container runs, it prints an informational message and exits.

  • Post-installation steps for Linux. This allows you to run Docker command without sudo .

  • Log-out from Linux, then log in again. You now can run Docker without sudo.

3. Install nvidia-docker

  • Setup the stable repository and the GPG key

  • Install the nvidia-docker2 package (and dependencies) after updating the package listing

  • Restart the Docker daemon to complete the installation after setting the default runtime

  • At this point, a working setup can be tested by running a base CUDA container (version above 11.6)

4. Install docker-compose

Run this command in Terminal to download the current stable release of Docker Compose:

Apply executable permissions to the binary:

Installing Dependencies: CentOS7

  1. Install nvidia driver > 5.15

  2. Install docker runtime (link)

  3. Install nvidia-docker (link)

  4. Install docker-compose (link)

1. Install nvidia-driver

  • Update yum

  • Import Elrepo gpg key

  • Install Elrepo RPM

  • Install nvidia-driver via nvidia-detect

  • Check if the driver is working

Reboot your computer to ensure the driver is working

2. Install docker-ce

Install the yum-utils package (which provides the yum-config-manager utility) and set up the stable repository.

Install the latest version of Docker Engine and containerd.

Start Docker.

Verify that Docker Engine is installed correctly by running the hello-world image.

3. Install nvidia-docker

4. Install docker-compose

First, download the current stable release of Docker Compose (1.24.1.) by running the curl command:

The –L option tells the system to follow any redirects, in case the file has been moved. –o changes the filename to docker-compose so you can easily find it when needed. The option /usr/local/bin/ specifies the location in which to store the software package.

Next, change the file permissions to make the software executable:

Last updated

Was this helpful?