How do I install a newer version of container toolkit?

The version of nvidia-ctk provided on my Xavier NX is 1.11.0. I am looking to work with CDI support, available from 1.12.0+. In any case, the current release on GitHub source is 1.14.1.

How can I download a more recent version? For that matter, is there any way to download the binaries without running directly on a Jetson? I guess I could use apt and point it at specific versions in specific repositories, but that requires some workarounds, and assumes that the latest versions actually are available in package repositories (like apt).

FWIW:

root@ubuntu:/etc/apt# nvidia-ctk  --version
NVIDIA Container Toolkit CLI version 1.11.0-rc.1
commit: 629a689

root@ubuntu:/etc/apt# cat sources.list.d/nvidia-l4t-apt-source.list
# SPDX-FileCopyrightText: Copyright (c) 2019-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# disclosure or distribution of this material and related documentation
# without an express license agreement from NVIDIA CORPORATION or
# its affiliates is strictly prohibited.

deb https://repo.download.nvidia.com/jetson/common r35.4 main
deb https://repo.download.nvidia.com/jetson/t194 r35.4 main

Hi,

Could you try to add the sources.list like the below comment to see if you can get a newer release?

Thanks.

You are suggesting adding the experimental repository to sources.list.d/ and getting the latest container toolkit from there?

That seems to have worked:

zededa@ubuntu:~$ nvidia-container-toolkit --version
NVIDIA Container Runtime Hook version 1.14.0-rc.2
commit: e4fee325cbdd31815b7e4796d493ccb58082fa22

root@ubuntu:/home/zededa# nvidia-ctk --version
NVIDIA Container Toolkit CLI version 1.14.0-rc.2
commit: e4fee325cbdd31815b7e4796d493ccb58082fa22

It still is a bit behind - the released version on github (i.e. non-experimental) is 1.14.1, but still this is much better.

Also, any thoughts on the second question? How can I download the actual toolkit directly, without using OS packages?

Hi,

You can find the package in our repo:
https://repo.download.nvidia.com/jetson/

Unfortunately, it doesn’t include the experimental package.

Thanks.

Yes, it looks like 1.11.0-rc1.1 is the highest there. It also requires digging into the .deb package to determine what other packages are dependencies.

Is there no binary distribution of all of the binaries, just for download? Or do I need to build from source to do that? If so, how do I do so?

Hi,

Suppose you can download the package with the suggestion shared on Sep 11.
You can save the package directly for your use case.

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.