Replies: 3 comments
-
cc @ktock |
Beta Was this translation helpful? Give feedback.
0 replies
-
how about nerdctl run --privileged @Matty666 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ningmingxiao no luck
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using nerdctl rootless and when i try the example command to run nvidia-smi in a container it fails with:
❯ nerdctl run -it --rm --gpus all nvidia/cuda:12.3.1-base-ubuntu20.04 nvidia-smi FATA[0000] failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running createRuntime hook #0: exit status 1, stdout: , stderr: nvidia-container-cli: mount error: failed to add device rules: unable to find any existing device filters attached to the cgroup: bpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted
i tried editing the
/etc/nvidia-container-runtime/config.toml
file and setno-cgroups = true
but it makes no difference. I enabled the debug logs in that file too, but the files are not created.Not sure where to look next, any help will be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions