nvidia-docker
nvidia-docker copied to clipboard
what are the requirements for the container?
The template below is mostly useful for bug reports and support questions. Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
Also, before reporting a new issue, please make sure that:
- You read carefully the documentation and frequently asked questions.
- You searched for a similar issue and this is not a duplicate of an existing one.
- This issue is not related to NGC, otherwise, please use the devtalk forums instead.
- You went through the troubleshooting steps.
1. Issue or feature description
even though /usr/bin/nvidia-smi is mounted, i can't use it.
I get exec /usr/bin/nvidia-smi: no such file or directory
the faq doesn't reall answer the question
#809
2. Steps to reproduce the issue
docker run --rm --gpus=all --net=host -it alpine ls -l /usr/bin/nvidia-smi
-rwxr-xr-x 1 root root 600472 Jul 20 13:43 /usr/bin/nvidia-smi
docker run --rm --gpus=all --net=host -it alpine /usr/bin/nvidia-smi
exec /usr/bin/nvidia-smi: no such file or directory
end goal is to figure out if nix/nixery is a good idea nixery.dev/shell/git/jupyter/python310packages.pytorch
3. Information to attach (optional if deemed irrelevant)
- [x] Some nvidia-container information:
nvidia-container-cli -k -d /dev/tty info - [x] Kernel version from
uname -a - [x] Any relevant kernel output lines from
dmesg - [x] Driver information from
nvidia-smi -a - [x] Docker version from
docker version - [x] NVIDIA packages version from
dpkg -l '*nvidia*'orrpm -qa '*nvidia*' - [x] NVIDIA container library version from
nvidia-container-cli -V - [x] NVIDIA container library logs (see troubleshooting)
- [x] Docker command, image and tag used
bash -c "nvidia-container-cli -k -d /dev/tty info; uname -a; dmesg; nvidia-smi -a; docker version; dpkg -l '*nvidia*'; nvidia-container-cli -V" > nvidia-docker-info.txt