With this I am able to use the 12.2.2 driver and tools like nvcc. I would like to move my code to run in a container, but I have been unsuccessful. I started with the docker hub nvidia/cuda images without success. I switched to using the nvcr.io/nvidia/l4t-base images. With those images, I am able to install cuda 11.4, but I can’t get the update to 12.2.
Is there any way for me to use the 12.2 driver from within a docker container?
I have the same problem for some reason I just can’t get cuda to update to 12.2, it works on the board directly but inside docker it simply doesn’t.
I am using the nvcr.io/nvidia/l4t-jetpack:r35.4.1 image. I tried the l4t-base docker image and the l4t-cuda docker image and none of them worked.
Thank you for the suggestion, but that doesn’t work inside of the container. I am running docker run -it --rm --runtime nvidia --gpus all nvcr.io/nvidia/l4t-base:35.4.1 bash to start up the container. When I follow the linked instructions, it fails on the apt-get install cuda with:
The following packages have unmet dependencies:
cuda : Depends: cuda-12-2 (>= 12.2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.