Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Add last stable Debian OS support #151

Closed
comassky opened this issue Aug 15, 2021 · 6 comments
Closed

Add last stable Debian OS support #151

comassky opened this issue Aug 15, 2021 · 6 comments
Labels
cgroupv2 This is related to cgroupv2 support in the NVIDIA Container Toolkit

Comments

@comassky
Copy link

Hi,

Debian 11 has just been released but nvidia-docker does not support it yet.

Is it possible to add it in the list of supported OS ?

@elezar elezar added the cgroupv2 This is related to cgroupv2 support in the NVIDIA Container Toolkit label Nov 18, 2021
@elezar
Copy link
Member

elezar commented Nov 18, 2021

Hi @comassky. The lack of direct packages for debian 11 is due to cgroupv2 being used as the default. The NVIDIA container stack does not work with the default configuration on these platforms. There is a workaround that can be used (see NVIDIA/libnvidia-container#111).

If you are able to get this workaround working, please close this issue. Improving the situation is on our roadmap.

See also #152 #152

@comassky
Copy link
Author

Hi, workaround works ;)

@klueska
Copy link
Contributor

klueska commented Dec 8, 2021

We now have an RC of libnvidia-container out that adds support for cgroupv2.

If you would like to try it out, make sure and add the experimental repo to your apt sources and install the latest packages:

For DEBs

sudo sed -i -e '/experimental/ s/^#//g' /etc/apt/sources.list.d/libnvidia-container.list
sudo apt-get update
sudo apt-get install -y libnvidia-container-tools libnvidia-container1

For RPMs

sudo yum-config-manager --enable libnvidia-container-experimental
sudo yum install -y libnvidia-container-tools libnvidia-container1

@klueska
Copy link
Contributor

klueska commented Jan 28, 2022

libnvidia-container-1.8.0-rc.2 is now live with some minor updates to fix some edge cases around cgroupv2 support.
Assuming you followed the above, a simple update --> install should give you the latest.

Note: This does not directly add debian11 support, but you can point to the debian10 repo and install from there for now.

@klueska
Copy link
Contributor

klueska commented Feb 4, 2022

libnvidia-container-1.8.0 with cgroupv2 support is now GA

Release notes here:
https://github.com/NVIDIA/libnvidia-container/releases/tag/v1.8.0

@klueska
Copy link
Contributor

klueska commented Feb 4, 2022

Debian 11 support has now been added such that running the following should now work as expected:

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
   && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
   && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cgroupv2 This is related to cgroupv2 support in the NVIDIA Container Toolkit
Projects
None yet
Development

No branches or pull requests

3 participants