Package Details: nvidia-container-runtime 3.10.0-2

Git Clone URL: (read-only, click to copy)
Package Base: nvidia-container-runtime
Description: NVIDIA opencontainer runtime fork to expose GPU devices to containers.
Upstream URL:
Keywords: docker nvidia runc
Licenses: Apache
Submitter: lukeyeager
Maintainer: jshap (kiendang)
Last Packager: jshap
Votes: 23
Popularity: 0.51
First Submitted: 2017-09-12 21:38 (UTC)
Last Updated: 2022-07-26 18:14 (UTC)

Pinned Comments

jshap commented on 2019-03-20 15:16 (UTC)

This package was changed to properly build from source. If you want to continue using prebuilt binaries you can use nvidia-container-runtime-bin.

Latest Comments

jshap commented on 2022-07-26 18:15 (UTC)

The linking issue should be fixed now. Apologies for the delay, it was a weird thing to track down and my typical computer I use to work on this stuff is in storage at the moment.

jshap commented on 2022-07-18 19:41 (UTC)

apologies for the delay on fixing this, I'm currently packing to move across the US but will have time later this week to try and look at it.

lahwaacz commented on 2022-07-12 17:45 (UTC)

Any progress with the linking issue?

jshap commented on 2022-07-11 03:16 (UTC)

yep, apologies I see it now. Seems like there's some change to the make scripts, building an ubuntu or other target in their build setup links correctly but the pkgbuild does not currently. I'll take a look as soon as I can tomorrow.

YoussefAswad commented on 2022-07-10 20:44 (UTC)

As johnwallaby mentioned downgrading also fixed it for me.

johnwallaby commented on 2022-07-10 20:31 (UTC)

i can confirm everything what YoussefAswad was describing; additionally I can add that manually downgrading

libnvidia-container (1.10.0-1 -> 1.9.0-1) libnvidia-container-tools (1.10.0-1 -> 1.9.0-1) nvidia-container-toolkit (1.10.0-1 -> 1.9.0-1) nvidia-container-runtime (3.10.0-1 -> 3.9.0-1)

and restarting docker is a temporary fix for me.

YoussefAswad commented on 2022-07-10 18:08 (UTC) (edited on 2022-07-10 18:11 (UTC) by YoussefAswad)

jshap the error occurs whenever I try to run anything using the --runtime=nvidia like this for example:

docker run --runtime=nvidia nvidia/cuda:11.7.0-base-ubuntu22.04 nvidia-smi
also when using docker compose. When using --rm --gpus all it works as expected. Also,I get the same error when running nvidia-container-runtime as nickoehler.

nickoehler commented on 2022-07-10 13:44 (UTC)

Simply running nvidia-container-runtime

Gives this error:

nvidia-container-runtime: symbol lookup error: nvidia-container-runtime: undefined symbol: cuDriverGetVersion

jshap commented on 2022-07-10 12:58 (UTC)

YoussefAswad can you share some more information on where that's coming from or if there are other errors? The new update works for my flow so I am unable to reproduce it.

YoussefAswad commented on 2022-07-10 01:58 (UTC) (edited on 2022-07-10 01:59 (UTC) by YoussefAswad)

Getting this after updating.

Error response from daemon: failed to create shim task: OCI runtime create failed: unable to retrieve OCI runtime error (open /var/run/docker/containerd/daemon/io.containerd.runtime.v2.task/moby/9c4f89cb5c90afb0bf1f87c05ea762e9cf7817c667340df4a7360548803c1f0d/log.json: no such file or directory): /usr/bin/nvidia-container-runtime did not terminate successfully: exit status 127: unknown

lahwaacz commented on 2022-02-12 15:35 (UTC)

LTO needs to be disabled with options=('!lto') in the PKGBUILD. See

jshap commented on 2021-03-02 22:17 (UTC)

JohnMaguire thanks, I just changed it from go install to go build. I hate that go is changing major stuff this.

JohnMaguire commented on 2021-02-26 18:19 (UTC) (edited on 2021-02-26 18:24 (UTC) by JohnMaguire)

Hit an issue trying to build today.

==> Making package: nvidia-container-runtime 3.4.2-1 (Fri 26 Feb 2021 01:18:20 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading v3.4.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   139  100   139    0     0    591      0 --:--:-- --:--:-- --:--:--   591
100  105k    0  105k    0     0   213k      0 --:--:-- --:--:-- --:--:--  213k
==> Validating source files with sha256sums...
    v3.4.2.tar.gz ... Passed
==> Extracting sources...
  -> Extracting v3.4.2.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
go install: version is required when current directory is not in a module
        Try 'go install nvidia-container-runtime@latest' to install the latest version
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build .

EDIT: Adding GO111MODULE=off to the beginning of the go install line fixes it. See for more details.

jshap commented on 2019-03-20 15:16 (UTC)

This package was changed to properly build from source. If you want to continue using prebuilt binaries you can use nvidia-container-runtime-bin.

jshap commented on 2019-03-04 18:22 (UTC)

hey @ljmf00 can you either orphan this or me a co-maintainer? I was planning on reworking this package along with the libnvidia-container* packages into a -bin variants and then introducing a version build from sources.

lukeyeager commented on 2018-06-04 17:49 (UTC)

Good point. Disowned. Have at it!

eschwartz commented on 2018-05-24 00:38 (UTC)

This should build the golang sources for runc, using the suitable patches from

If you want a package using some random Centos prebuilt stuff, upload a separate nvidia-container-runtime-bin package.