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
I am confused that I ran into an issue after I installed newest version Docker CE. I was exactly following the instructions. At the very beginning, the first two lines went well:
LINGVO_DIR="/tmp/lingvo" # (change to the cloned lingvo directory, e.g. "$HOME/lingvo") LINGVO_DEVICE="gpu" # (Leave empty to build and run CPU only docker)
Then, I copied the file dev.dockerfile into the correct location (${LINGVO_DIR}/docker/dev.dockerfile)
and ran the third line:
Solved. When I was trying with another local GPU machine, after I executed the fourth line, I was prompted into the Docker console. Since then everything was OK.
Hello guys:
I am confused that I ran into an issue after I installed newest version Docker CE. I was exactly following the instructions. At the very beginning, the first two lines went well:
LINGVO_DIR="/tmp/lingvo" # (change to the cloned lingvo directory, e.g. "$HOME/lingvo") LINGVO_DEVICE="gpu" # (Leave empty to build and run CPU only docker)
Then, I copied the file dev.dockerfile into the correct location (${LINGVO_DIR}/docker/dev.dockerfile)
and ran the third line:
sudo docker build --tag tensorflow:lingvo $(test "$LINGVO_DEVICE" = "gpu" && echo "--build-arg base_image=nvidia/cuda:10.0-cudnn7-runtime-ubuntu16.04") - < ${LINGVO_DIR}/docker/dev.dockerfile
However, when I was running the fourth line:
charles@node28:~$ sudo docker run --rm $(test "$LINGVO_DEVICE" = "gpu" && echo "--runtime=nvidia") -it -v ${LINGVO_DIR}:/tmp/lingvo -v ${HOME}/.gitconfig:/home/${USER}/.gitconfig:ro -p 6006:6006 -p 8888:8888 --name lingvo tensorflow:lingvo bash
I got a strange error and I was not able to solve it by Googling anywhere:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:385: running prestart hook 1 caused \\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=10.0 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=410,driver<411 --pid=147707 /var/lib/docker/overlay2/85c4fa2cb2bd50d86984c88450aa4a0003c657a8849a15d6b79124b3d62f6650/merged]\\\\nnvidia-container-cli: requirement error: invalid expression\\\\n\\\"\"": unknown.
Can anyone help me out with it or give me some hint?
The text was updated successfully, but these errors were encountered: