89luca89 / 89luca89/distrobox

[Discussion] How to use CUDA SDK installed on host?

Abierto
#1,087 0 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
Go
Estrellas
13k
Forks
541
Merge medio
20 h 47 min
PR fusionados (30 d)
4

Descripción

Hi,
I run Fedora 39 on my base system, which has GCC 13.2 that is incompatible with all current versions of nvcc. Thus, I am trying to use distrobox to install a Ubuntu 22.04 container.

When I create the container with `distrobox create --nvidia --name ubuntu-nv --image ubuntu:22.04`, the directory `/usr/local/cuda-12.1` from the host system seems to be made available to the container, but for some reason it does not contain the sub-folder `bin` present on the host system.

When I create the container with `distrobox create --nvidia --name ubuntu-nv --image ubuntu:22.04 --volume /usr/local/cuda-12.1:/usr/local/cuda`, no CUDA folder is made available in the container for some reason.

Am I doing something wrong here? I am aware of the possibility to just access all files of the host via `/run/host`.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.