Not sure what's going on here. I installed the NVIDIA drivers like this:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt-get install nvidia-381
sudo apt install nvidia-modprobe
and the NVIDIA Docker for Ubuntu:
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb
sudo dpkg -i /tmp/nvidia-docker*.deb && rm /tmp/nvidia-docker*.deb
running nvidia-smi works correctly:
Sun Jul 23 19:29:46 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 381.22 Driver Version: 381.22 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 108... Off | 0000:05:00.0 On | N/A |
| 23% 33C P8 10W / 250W | 150MiB / 11171MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1507 G /usr/lib/xorg/Xorg 43MiB |
+-----------------------------------------------------------------------------+
But this fails: nvidia-docker run --rm nvidia/cuda nvidia-smi
docker: Error response from daemon: create nvidia_driver_381.22: Error looking up volume plugin nvidia-docker: legacy plugin: plugin not found.
Try sudo service nvidia-docker start first.
On Jul 23, 2017 4:31 PM, "Vishal Goklani" notifications@github.com wrote:
Not sure what's going on here. I installed the NVIDIA drivers like this:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt-get install nvidia-381
sudo apt install nvidia-modprobeand the NVIDIA Docker like so:
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb
sudo dpkg -i /tmp/nvidia-docker.deb && rm /tmp/nvidia-docker.debrunning nvidia-smi works correctly:
Sun Jul 23 19:29:46 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 381.22 Driver Version: 381.22 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 108... Off | 0000:05:00.0 On | N/A |
| 23% 33C P8 10W / 250W | 150MiB / 11171MiB | 0% Default |
+-------------------------------+----------------------+----------------------++-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1507 G /usr/lib/xorg/Xorg 43MiB |
+-----------------------------------------------------------------------------+But this fails: nvidia-docker run --rm nvidia/cuda nvidia-smi
docker: Error response from daemon: create nvidia_driver_381.22: Error
looking up volume plugin nvidia-docker: legacy plugin: plugin not found.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NVIDIA/nvidia-docker/issues/437, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJO93pLWth12YiUHPSIcTYUCLST9KSFLks5sQ9fAgaJpZM4Ogmrk
.
Try sudo nvidia-docker-plugin first.
@vgoklani Is it working after the suggestions above?
sudo service nvidia-docker start worked for me... Thanks.
sudo nvidia-docker-plugin worked for me
Most helpful comment
Try
sudo service nvidia-docker startfirst.On Jul 23, 2017 4:31 PM, "Vishal Goklani" notifications@github.com wrote: