-
Notifications
You must be signed in to change notification settings - Fork 158
Trying to get nvidia-container-runtime on other distribution to work #101
Comments
I'm not sure why your file sizes would be 0, but I don't see you listing |
More info on how all of these components interrelate: NVIDIA/nvidia-docker#1268 (comment) |
@klueska Thank you for the quick response! ;) Oh sorry forget to include that the order i did this is:
|
I'm not too familiar with slackware or why things might differ, but all of the files you mention are mounted into the container by this same line: https://github.com/NVIDIA/libnvidia-container/blob/master/src/nvc_mount.c#L77 Is it possible that something more is required by slackware when performing the bind-mount than what we are doing on other platforms? |
I will look into that, eventually a permission issue. Also someone said you have to apply a patch to runc for this to work (the tread is pretty old but the patch link doesn't work anymore): |
Looking back at your steps, by the way, this one seems odd to me:
That should not be necessary. The I'm not sure what you would accomplish by renaming the native runC to |
I did this because of this post: The last sentence says that you should rename the generated runc to nvidia-container-runtime Btw @klueska thank you very much fo these speedy answers, i'm hoping to get everything to work. |
That comment is old, and the stack has been rearchitected since then. This is the most up-to-date summary of the architecture: NVIDIA/nvidia-docker#1268 (comment) |
@klueska
I've got only one question left, is there a new/other way to compile the 'nvidia-container-toolkit' & 'nvidia-container-toolkit' from the sources since i have used it from branch v3.1.4 otherwise i don't found a way to compile it... |
For For That said, all we do in docker is:
You should be able to do this manually -- take a look at this for the steps: |
@klueska thank you very much! Greetings from Austria ;) |
Great to hear. Gern geschehen. |
I'm trying to get the nvidia-container-runtime running on Slackware but when i start up a container with the needed startup commands and runtime I can see nvidia-smi in /usr/bin/ from inside the container but it shows that the filesize is zero.
Also all library files show up with the filesize zero from inside the container.
Can somebody help?
What i've done so far:
I'm a little lost right now and don't know what i've done possibly wrong.
The text was updated successfully, but these errors were encountered: