Setup the repository and the GPG key:
$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.repo | sudo tee /etc/yum.repos.d/nvidia-container-toolkit.repo
Note
To get access to experimental features and access to release candidates, you may want to add the experimental branch to the repository listing:
$ yum-config-manager --enable libnvidia-container-experimental