Skip to content

Instantly share code, notes, and snippets.

#add yourself to docker group and _reboot_ or _login again_
sudo zypper ar https://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_15.1/Virtualization:containers.repo
sudo zypper install --allow-vendor-change 'docker >= 19.03'
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
sudo zypper ar https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo
sudo zypper install nvidia-container-toolkit
# -y has been remove relative to guide at https://github.com/NVIDIA/nvidia-docker