Giter Club home page Giter Club logo

Comments (5)

elezar avatar elezar commented on June 8, 2024

We are in the process of updating our docs to use the nvidia-ctk runtime configure command instead of manually applying the patch.

Please run:

sudo nvidia-ctk runtime configure --runtime=containerd --config=/etc/containerd/config.toml

Adding a --dry-run flag will output the modified config instead of updating the file.

from nvidia-docker.

wanghm avatar wanghm commented on June 8, 2024

@elezar Thank you very much.
I just tried the above command, but got:
sudo nvidia-ctk runtime configure --runtime=containerd --config=/etc/containerd/config.toml
ERRO[0000] unrecognized runtime 'containerd'

from nvidia-docker.

elezar avatar elezar commented on June 8, 2024

Which version of nvidia-ctk do you have installed? Support for containerd will be included in the 1.14.0 release (with the rc.2 release already available from our public experimental repos)

from nvidia-docker.

wanghm avatar wanghm commented on June 8, 2024

It was 1.13.5.
I just changed repository to experimental and installed it again.
Now it works!

# nvidia-ctk --version
NVIDIA Container Toolkit CLI version 1.14.0-rc.2
commit: e4fee325cbdd31815b7e4796d493ccb58082fa22

# diff -u config.toml_bk config.toml
--- config.toml_bk	2023-08-24 10:02:51.852912445 +0800
+++ config.toml	2023-08-24 10:03:14.192965286 +0800
@@ -99,6 +99,31 @@

       [plugins."io.containerd.grpc.v1.cri".containerd.runtimes]

+        [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.nvidia]
+          base_runtime_spec = ""
+          cni_conf_dir = ""
+          cni_max_conf_num = 0
+          container_annotations = []
+          pod_annotations = []
+          privileged_without_host_devices = false
+          runtime_engine = ""
+          runtime_path = ""
+          runtime_root = ""
+          runtime_type = "io.containerd.runc.v2"
+
+          [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.nvidia.options]
+            BinaryName = "/usr/bin/nvidia-container-runtime"
+            CriuImagePath = ""
+            CriuPath = ""
+            CriuWorkPath = ""
+            IoGid = 0
+            IoUid = 0
+            NoNewKeyring = false
+            NoPivotRoot = false
+            Root = ""
+            ShimCgroup = ""
+            SystemdCgroup = false
+
         [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
           base_runtime_spec = ""
           cni_conf_dir = ""

from nvidia-docker.

wanghm avatar wanghm commented on June 8, 2024

@elezar
Thanks for your help.
Close this issue.

If possible, could you please inform me about the approximate schedule for the GA of nvidia-ctk 1.14?
I'll do this in the customer's production environment.
Hope it will be a GAed version, not RC.

from nvidia-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.