Package Details: nvidia-docker 2.2.2-1

Git Clone URL: https://aur.archlinux.org/nvidia-docker.git (read-only)
Package Base: nvidia-docker
Description: Build and run Docker containers leveraging NVIDIA GPUs
Upstream URL: https://github.com/NVIDIA/nvidia-docker
Keywords: cuda docker gpu nvidia
Licenses: BSD
Submitter: marcelhuber
Maintainer: jshap (kiendang)
Last Packager: jshap
Votes: 34
Popularity: 0.32
First Submitted: 2016-07-26 09:17
Last Updated: 2019-09-09 17:21

Pinned Comments

jshap commented on 2019-08-17 01:14

This package is now deprecated in upstream, as you can now use nvidia-container-toolkit together with docker 19.03's new native GPU support in order to use NVIDIA accelerated docker containers without requiring nvidia-docker. I'm keeping the package alive for now because it still works but in the future it may become fully unsupported in upstream.

For more info, see: https://wiki.archlinux.org/index.php/Docker#Run_GPU_accelerated_Docker_containers_with_NVIDIA_GPUs

Latest Comments

1 2 3 Next › Last »

jshap commented on 2019-08-17 01:14

This package is now deprecated in upstream, as you can now use nvidia-container-toolkit together with docker 19.03's new native GPU support in order to use NVIDIA accelerated docker containers without requiring nvidia-docker. I'm keeping the package alive for now because it still works but in the future it may become fully unsupported in upstream.

For more info, see: https://wiki.archlinux.org/index.php/Docker#Run_GPU_accelerated_Docker_containers_with_NVIDIA_GPUs

ruro commented on 2019-08-07 21:40

Can confirm, just changing PKGBUILD to use depends=(docker nvidia-container-runtime) worked perfectly for me.

kiendang commented on 2019-07-30 00:34

@vanyasaem @jshap70 if I'm not wrong the correct dependencies should be depends=(docker nvidia-container-runtime). nvidia-container-runtime already depends on nvidia-container-toolkit. This follows the dependencies in the official packages for Ubuntu/Centos.

jshap commented on 2019-07-29 16:38

@vanyasem you need to update your PKGBUILD to use depends=(docker nvidia-container-runtime nvidia-container-toolkit) or else new installs will continue to be broken.

lesto commented on 2019-07-29 09:27

this depends on nvidia-container-runtime, that depends on nvidia-container-toolkit, that conflict with nvidia-docker

jshap commented on 2019-07-28 01:45

this package is becoming deprecated, see: https://github.com/NVIDIA/nvidia-container-runtime/releases/tag/3.1.0

In it's place you can use Docker 19.03's native gpu support using the --gpu flag through the new nvidia-container-toolkit package.

For now nvidia-docker should continue to work however "in the future" the package will no longer be supported. See https://github.com/NVIDIA/nvidia-docker for all of the info.

cboden commented on 2019-05-05 11:01

Hi, i could not get it to work (nvidia-418.56-11, docker-1:18.09.5-1):

nvidia-docker run --rm nvidia/cuda:10.1-base nvidia-smi

docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"process_linux.go:407: 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 --device=all --compute --utility --require=cuda>=10.1 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=410,driver<411 --pid=3804 /var/lib/docker/overlay2/c9f8ff84653c0a76927a284df4e2392ee898c278d049c03cf6232c3e5aa20e25/merged]\\nnvidia-container-cli: ldcache error: process /sbin/ldconfig failed with error code: 1\\n\\"\"": unknown.

What i found in /var/log/nvidia-container-runtime-hook.log:

I0505 11:03:49.106724 4833 nvc_mount.c:115] mounting /dev/nvidia-uvm-tools at /var/lib/docker/overlay2/2585ca7db234b07e9816b60f01d631e71cc8081494094796de92b7cc599d152d/merged/dev/nvidia-uvm-tools I0505 11:03:49.106738 4833 nvc_mount.c:349] whitelisting device node 234:1 I0505 11:03:49.106796 4833 nvc_mount.c:115] mounting /dev/nvidia0 at /var/lib/docker/overlay2/2585ca7db234b07e9816b60f01d631e71cc8081494094796de92b7cc599d152d/merged/dev/nvidia0 I0505 11:03:49.106835 4833 nvc_mount.c:312] mounting /proc/driver/nvidia/gpus/0000:01:00.0 at /var/lib/docker/overlay2/2585ca7db234b07e9816b60f01d631e71cc8081494094796de92b7cc599d152d/merged/proc/driver/nvidia/gpus/0000:01:00.0 I0505 11:03:49.106852 4833 nvc_mount.c:349] whitelisting device node 195:0 I0505 11:03:49.106866 4833 nvc_ldcache.c:326] executing /sbin/ldconfig from host at /var/lib/docker/overlay2/2585ca7db234b07e9816b60f01d631e71cc8081494094796de92b7cc599d152d/merged E0505 11:03:49.107702 1 nvc_ldcache.c:357] could not start /sbin/ldconfig: process execution failed: operation not permitted I0505 11:03:49.117656 4833 nvc.c:311] shutting down library context I0505 11:03:49.117965 4843 driver.c:183] terminating driver service I0505 11:03:49.160038 4833 driver.c:224] driver service terminated successfully

SilverMight commented on 2018-06-13 01:05

Getting this in docker.service logs

level=error msg="get nvidia_driver_396.24: error looking up volume plugin nvidia-docker: plugin \"nvidia-docker\" not found"

vanyasem commented on 2018-06-07 04:46

Changed the package to use original sources

vanyasem commented on 2018-05-24 19:07

Thank you, I will fix it as soon as possible