Docker: Error response from daemon: Unknown runtime specified nvidia

Hello everyone,

I just buy 1 Jetson Nano Dev kit 4GB and try to follow the course “Getting started with AI on Jetson Nano” from Nividia DLI here

Everything is ok until the set up for the Docker Container.
I follow the instruction from the course, after running this command

sudo docker run --runtime nvidia -it --rm --network host \
    --volume ~/nvdli-data:/nvdli-nano/data \
    --volume /tmp/argus_socket:/tmp/argus_socket \
    --device /dev/video0 \
    nvcr.io/nvidia/dli/dli-nano-ai:v2.0.2-r32.7.1

i get this error : “docker: Error response from daemon: Unknown runtime specified nvidia.”

I try to get help from ChatGPT, Stackoverflow and read the topics in this forum and try many way but nothing works.

When i check the docker, it give me that, does it means i succesfully install docker or not?
$ sudo docker info
Client:
Context: default
Debug Mode: false

Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 20.10.21

Thank you so much for any response

oh i resolved it, jut update for someone that needs.
first, i install the docker2

sudo apt-get install nvidia-docker2

then restart the docker

sudo systemctl daemon-reload

sudo systemctl restart docker

and then run the cmd again

sudo docker run --runtime nvidia -it --rm --network host --volume ~/nvdli-data:/nvdli-nano/data --volume /tmp/argus_socket:/tmp/argus_socket --device /dev/video0 nvcr.io/nvidia/dli/dli-nano-ai:v2.0.2-r32.7.1

now it starts to pull the files and i can access jupyter.

Downloaded newer image for nvcr.io/nvidia/dli/dli-nano-ai:v2.0.2-r32.7.1
allow 10 sec for JupyterLab to start @ http://192.168.102.8:8888 (password dlinano)

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