Docker_dli_run error

i have jetson nano 4gb

and i using image [jetson-nano-4gb-jp441-sd-card-image]

i try to run Docker container with following command

echo "sudo docker run --runtime nvidia -it --rm --network host \
    --volume ~/nvdli-data:/nvdli-nano/data \
    --device /dev/video0 \" >
chmod +x

i get following message in terminal:
docker: invalid reference format.
See ‘docker run --help’.
./ line 4: No such file or directory

could you help me?

without saving .sh i run in terminal directly as

sudo docker run --runtime nvidia -it --rm --network host
–volume ~/nvdli-data:/nvdli-nano/data
–device /dev/video0

and the output is as shown in screenshot below

Hi @rajkumarsaswamy, it appears OK when you ran the command directly - in your screenshot, it is downloading the container from NGC. It should then run it for you when the download is complete.

I’m not sure why your script didn’t run, because I copy/pasted it and it worked here…

Perhaps you could open it in a file editor from your Nano (like nano or vi) and enter it there to rule out any issue with Windows/Linux line endings or something like that.

1 Like