osrf / rocker

A tool to run docker containers with overlays and convenient options for things like GUIs etc.
Apache License 2.0
533 stars 68 forks source link

Install nvidia-docker 2 / Nvidia-toolkit on ubuntu 23.04 #232

Closed Mk-arc closed 1 year ago

Mk-arc commented 1 year ago

Title says it all. The packages seem to be not available. How to use rocker with nvidia on ubuntu 23.04?

tfoote commented 1 year ago

Please elaborate what your issues is. Can you please provide enough information to reproduce your issue and explain exactly what's not working with rocker?

Mk-arc commented 1 year ago

Hi,

thanks for coming back to this.

you state in the Readme to follow this link to install the necessary nvidia components:

Install nvidia-docker 2: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker

However, this is not working with ubuntu 23.04. There are no official releases.

I guess the question is. Are there any workarounds / is there a plan to support newer ubuntu versions.

tfoote commented 1 year ago

To use the nvidia plugins for rocker it does require the nvidia-docker capabilities on your host. That's a hard dependency for using nvidia inside of docker. You can likely use other GPUs and all the other features of rocker you just won't be able to take advantage of the nvidia features.

There's no known workarounds. We will try to support it when/if NVIDIA makes a release. I would suggest following up with a request to NVIDIA. However looking at their support chart it looks like they're targeting only Ubuntu LTS releases so the next one supported by NVIDIA may be 24.04.

tfoote commented 1 year ago

I don't think that there's anything we can do for this until there's an upstream release and at that point it will hopefully just work. So I'm going to close this.