Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

ubuntu 14.04 nvidia-docker run --rm nvidia/cuda nvidia-smi Error response from daemon: create nvidia_driver_375.66: VolumeDriver.Create: internal ----->>>>>> error: Link Issue on volume creation #475

Closed
jidong029 opened this issue Sep 21, 2017 · 2 comments

Comments

@jidong029
Copy link

jidong029 commented Sep 21, 2017

When testing the nvidia-docker the erros is below, after install the nvidia-docker,how to resolve this?,Thanks.

test@W580-G20:/tmp$ sudo nvidia-docker run --rm nvidia/cuda nvidia-smi
docker: Error response from daemon: create nvidia_driver_375.66: VolumeDriver.Create: internal error, check logs for details. See 'docker run --help'.

When I open test@W580-G20:/tmp$ sudo cat /var/log/upstart/docker.log _

`time="2017-09-22T00:30:36.886403768+08:00" level=error msg="Handler for POST /v1.26/containers/create returned error: create nvidia_driver_375.66: VolumeDriver.Create: internal error, check logs for details\n" 

When I open test@W580-G20:/tmp$ sudo cat /var/log/upstart/nvidia-docker.log

`/usr/bin/nvidia-docker-plugin | 2017/09/22 00:29:01 Received create request for volume 'nvidia_driver_375.66'
/usr/bin/nvidia-docker-plugin | 2017/09/22 00:29:01 Error: link /usr/lib/nvidia-375/bin/nvidia-cuda-mps-control /var/lib/nvidia-docker/volumes/nvidia_driver/375.66/bin/nvidia-cuda-mps-control: invalid cross-device link
/usr/bin/nvidia-docker-plugin | 2017/09/22 00:30:36 Received create request for volume 'nvidia_driver_375.66'
/usr/bin/nvidia-docker-plugin | 2017/09/22 00:30:36 Error: link /usr/lib/nvidia-375/bin/nvidia-cuda-mps-control /var/lib/nvidia-docker/volumes/nvidia_driver/375.66/bin/nvidia-cuda-mps-control: invalid cross-device link

The environmet is:

1 .`test@W580-G20:/tmp$ uname -a
Linux W580-G20 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux`
2. `test@W580-G20:/tmp$ dpkg -l |grep docker
ii  docker-ce                                             17.03.0~ce-0~ubuntu-trusty                          amd64        Docker: the open-source application container engine
ii  nvidia-docker                                         1.0.1-1                                             amd64        NVIDIA Docker container tools
@jidong029
Copy link
Author

Now ,I found the question is how to refresh "nvidia-docker-plugin -d /usr/local/nvidia_driver"
but in ubuntu 16.04 ,we can use below : #133 ,how to change this in ubuntu 14.04? Thanks.

# systemctl edit nvidia-docker

[Service]
ExecStart=
ExecStart=/usr/bin/nvidia-docker-plugin -s $SOCK_DIR -d /usr/local/nvidia-driver 

@jidong029 jidong029 changed the title nvidia-docker run --rm nvidia/cuda nvidia-smi Error response from daemon: create nvidia_driver_375.66: VolumeDriver.Create: internal error, check logs for details. ubuntu 14.04 nvidia-docker run --rm nvidia/cuda nvidia-smi Error response from daemon: create nvidia_driver_375.66: VolumeDriver.Create: internal error: Link Issue on volume creation Sep 22, 2017
@jidong029 jidong029 changed the title ubuntu 14.04 nvidia-docker run --rm nvidia/cuda nvidia-smi Error response from daemon: create nvidia_driver_375.66: VolumeDriver.Create: internal error: Link Issue on volume creation ubuntu 14.04 nvidia-docker run --rm nvidia/cuda nvidia-smi Error response from daemon: create nvidia_driver_375.66: VolumeDriver.Create: internal ----->>>>>> error: Link Issue on volume creation Sep 22, 2017
@flx42
Copy link
Member

flx42 commented Sep 22, 2017

It's /etc/default/nvidia-docker

@flx42 flx42 closed this as completed Sep 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants