"nvidia-container-cli: detection error" when using gpu on jetson nx

**• Jetson nx
**• DeepStream6.0
**• JetPack4.6.1
when “sudo docker run -it --runtime=nvidia xxxxx”, failed, message shows as following:
"docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #1:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: detection error: malformed line 1, expected at least 2 tokens: unknown.

ERRO[0001] error waiting for container: context canceled"

Can you elaborate how you installed nvidia-container-toolkit on you NX?
You may check the steps on this guide:Installation Guide — NVIDIA Cloud Native Technologies documentation

yes, you are right, it is install problem resolved after I install according to the guide you sent, thanks a lot

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