You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
I have same problem like this #174
It seem to be resolved in nvidia-docker2, but I can't work successfully
2. Steps to reproduce the issue
I just install nvidia-docker with apt install nvidia-docker2
pull the container I need nvidia-docker pull nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
run it nvidia-docker run -it <image> /bin/bash
install python from apt in container
commit container to another repository nvidia-docker commit <container> nvtest
save to tar nvidia-docker save -o nvtest.tar nvtest
remove the nvtest in repository and runtime container
import tar from nvtest.tar nvidia-docker import nvtest.tar nvtest
run command docker run --runtime=nvidia --rm a81cce78e47c nvidia-smi
and output is docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"nvidia-smi\": executable file not found in $PATH": unknown.
change nvidia-smi to /bin/bash has same output
and I try to use another method to export container
import tar from nvtest.tar cat nvtest.tgz | nvidia-docker import - nvtest2
and I can use bash in container now !
but, the nvcc is not in $PATH (still in /usr/local/cuda/bin)
and when I use ldconfig , the output is
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libcuda.so.384.130 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.384.130 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.384.130 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.384.130 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.384.130 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.384.130 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libcuda.so.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1 is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libcuda.so is empty, not checked.
/sbin/ldconfig.real: File /usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.384.130 is empty, not checked.
/usr/lib/x86_64-linux-gnu/libcuda.so.384.130 is 0 byte file now @@...
3. Information to attach (optional if deemed irrelevant)
Kernel version from uname -a
Linux yichiun-ubuntu1604 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Any relevant kernel output lines from dmesg
Driver information from nvidia-smi -a
==============NVSMI LOG==============
Timestamp : Fri Jun 8 15:34:54 2018
Driver Version : 384.130
1. Issue or feature description
I have same problem like this #174
It seem to be resolved in nvidia-docker2, but I can't work successfully
2. Steps to reproduce the issue
I just install nvidia-docker with
apt install nvidia-docker2
pull the container I need
nvidia-docker pull nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
run it
nvidia-docker run -it <image> /bin/bash
install python from apt in container
commit container to another repository
nvidia-docker commit <container> nvtest
save to tar
nvidia-docker save -o nvtest.tar nvtest
remove the nvtest in repository and runtime container
import tar from nvtest.tar
nvidia-docker import nvtest.tar nvtest
run command
docker run --runtime=nvidia --rm a81cce78e47c nvidia-smi
and output is
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"nvidia-smi\": executable file not found in $PATH": unknown.
change nvidia-smi to /bin/bash has same output
and I try to use another method to export container
export container
nvidia-docker export -o nvtest.tgz b93807e16849
import tar from nvtest.tar
cat nvtest.tgz | nvidia-docker import - nvtest2
and I can use bash in container now !
but, the
nvcc
is not in $PATH (still in /usr/local/cuda/bin)and when I use
ldconfig
, the output is/usr/lib/x86_64-linux-gnu/libcuda.so.384.130 is 0 byte file now @@...
3. Information to attach (optional if deemed irrelevant)
uname -a
dmesg
nvidia-smi -a
docker version
dpkg -l '*nvidia*'
orrpm -qa '*nvidia*'
nvidia-container-cli -V
The text was updated successfully, but these errors were encountered: