NVIDIA / libnvidia-container

NVIDIA container runtime library
Apache License 2.0
810 stars 199 forks source link

Opensuse Leap 15 and Opensuse Tumbleweed support #40

Open PhilipLeu opened 5 years ago

PhilipLeu commented 5 years ago

Hi,

will there be any Opensuse Leap 15 and Opensuse Tumbleweed support?

RenaudWasTaken commented 5 years ago

Hello @PhilipLeu !

Sorry but for now this is not on our near-term roadmap. Keeping this open as things might change in the future.

dev-zero commented 5 years ago

Leap 15.0/15.1 support is done in PR #27, Tumbleweed shouldn't be too difficult either. SLES is something else entirely since there one has to pull Docker images from either registry.suse.com/suse/sles12sp4 or registry.suse.com/suse/sle15 and it must run on a SLE machine to get access to the package repository.

awoimbee commented 2 years ago

Official OpenSUSE Tumbleweed support would make sense since Kubic (and MicroOS) is built on top of it.

elezar commented 2 years ago

Hi @awoimbee would you be able to test the existing openSUSE packages on Tumbleweed? Are there any issues in configuring the repositories? (looking at an /etc/os-release file in a Tumbleweed image, we see the concatenation of $ID$VERSION_ID equal to opensuse-tumbleweed20220531 which would have to be overridden to something like opensuse-leap15.3 when configuring the repositories).

Note that we have recently added redirects for 15.2 and 15.3 meaning that it is no longer required to "force" 15.1 packages to be used.

awoimbee commented 2 years ago

@elezar I can't play around with the machine right now. Here is the config I used (on Kubic):

# install nvidia stuff
zypper -n addrepo https://download.nvidia.com/opensuse/tumbleweed NVIDIA
# no repo available for tumbleweed :/
zypper -n addrepo https://nvidia.github.io/libnvidia-container/sles15.1/libnvidia-container.repo
zypper --gpg-auto-import-keys refresh
zypper -n in -l x11-video-nvidiaG06 nvidia-container-toolkit
systemctl enable nvidia-persistenced