Installing Container Runtimes
New in version 2.0.
The NVIDIA AI Enterprise offers a collection of containers for running AI/ML and Data Science workloads. The containers are packaged and delivered as containers. The container runtime used by Ubuntu OS is docker and the container runtime used by RHEL is podman.
Installing Docker for Ubuntu
Please refer to Install Docker Engine on Ubuntu | Docker Documentation for a current installation procedure for Ubuntu.
Installing Podman for Red Hat Enterprise Linux
For installing Podman, follow the official instructions for your supported Linux distribution. For convenience, the documentation below includes instructions on installing Podman on RHEL 8.
-
On RHEL 8, check if the
container-toolsmodule is available with the command below. -
This should return an output as shown below.
-
Now, proceed to install the
container-toolsmodule, which will install Podman with the command below. -
Once, Podman is installed, check the version with the command below.
Rootless Container Setup (Optional)
If the user running the containers is a privileged user (e.g. root) this change should not be made and will cause containers using the NVIDIA Container Toolkit to fail.
To be able to run rootless containers with Podman, we need the following configuration change to the NVIDIA runtime with the command below.