Package Details: nvidia-docker 2.13.0-1

Git Clone URL: https://aur.archlinux.org/nvidia-docker.git (read-only, click to copy)
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: kiendang
Last Packager: jshap
Votes: 40
Popularity: 0.002866
First Submitted: 2016-07-26 09:17 (UTC)
Last Updated: 2023-05-04 18:36 (UTC)

Pinned Comments

jshap commented on 2019-08-17 01:14 (UTC) (edited on 2019-08-19 15:51 (UTC) by jshap)

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 (UTC) (edited on 2019-08-19 15:51 (UTC) by jshap)

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 (UTC)

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

kiendang commented on 2019-07-30 00:34 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-05-05 11:13 (UTC) by cboden)

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 (UTC) (edited on 2018-06-13 01:05 (UTC) by SilverMight)

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 (UTC)

Changed the package to use original sources

vanyasem commented on 2018-05-24 19:07 (UTC)

Thank you, I will fix it as soon as possible