Docker image and Cuda with OpenSUSE leap

Dear all,

I would like to pull a OpenSUSE docker image with cuda. Thanks to registry.opensuse.org there are some openSUSE leap image available, but without cuda. Also, Nvidia engineers did some Dockerfile with cuda : https://catalog.ngc.nvidia.com/orgs/nvidia/containers/cuda. However OpenSUSE is not available.

I found an old message asking OpenSUSE image and cuda: https://gitlab.com/nvidia/container-images/cuda/-/issues/5, but it is closed now.

I would like to know what will be the easiest way to get an OpenSUSE docker Images with cuda?
_Dockerfile with cuda installation as displayed in : https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#suse-installation
_Trying to copy the Dockerfile from Nvidia gitlab repo and adapt for OpenSUSE: https://gitlab.com/nvidia/container-images/cuda/-/blob/master/dist/11.7.0/ubuntu2204/base/Dockerfile

Warmest regards.

Hi and welcome to the Forum :slight_smile:
Anything is possible :wink:

Perhaps some more information on your end goal for cuda in a container?

I see here https://github.com/NVIDIA/nvidia-docker has openSUSE as a build option (docker.mk - 15.1) that could be updated?

Whilst I don’t use docker, I use nerdctl instead via rancher-desktop, maybe once know some more, happy to help if I can. I do run cuda and have a T400.