How To Enable NVIDIA GPUs In Containers On Bare Metal In RHEL 8
Red Hat News, May 14th, 2020
May 14, 2020,
Volume 266, Issue 2

Using GPUs in containers is easier than you think

"This post updates previous posts by Zvonko Kaiser about using the nvidia-container-runtime-hook to access GPUs in containers on bare metal using Podman and in OpenShift. This post will show how to access NVIDIA GPUs in containers run with Podman, on a host running RHEL 7 or RHEL 8.

Using GPUs in containers is easier than you think. We start by setting up the host with the necessary NVIDIA drivers and CUDA software, a container runtime hook (nvidia-container-toolkit) and a custom SELinux policy. Then we show an example of how to run a container with Podman so that the GPUs are accessible inside the container.

Shell scripts for the driver installation, container hook setup, as well as verification tests are provided on GitHub..."

Read More ...


Other articles in the Red Hat News section of Volume 266, Issue 2:

See all archived articles in the Red Hat News section.