Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrismile opened this issue Dec 3, 2023 · 0 comments
Open

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

chrismile opened this issue Dec 3, 2023 · 0 comments
Labels
question Further information is requested

Comments

@chrismile
Copy link

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.

@chrismile chrismile added the question Further information is requested label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant