Problem with the Docker while following the "Getting started with AI on jetson nano"

I got a problem while following the " Getting Started with AI on Jetson Nano!" while starting the docker… I got the following error below. And I am totally a beginner and new to Linux command, so please kindly help me by giving a detailed solution. Thank You!

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 #0:: error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --compat32 --graphics --utility --video --display --pid=10813 /var/lib/docker/overlay2/69ff0bca8ab6312d5b8c27fc36ddd0b71de11c8afac0d2ab0b25e5aba224551d/merged]
nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/69ff0bca8ab6312d5b8c27fc36ddd0b71de11c8afac0d2ab0b25e5aba224551d/merged/usr/lib/aarch64-linux-gnu/ file exists: unknown.


The error is usually caused by the incompatible software between docker and Nano host.

Please noted that you need to use the same JetPack version between Nano and docker.
For example, if you use this comment:

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

Then you will need an r32.4.4 BSP for Nano.
This means you need to reflash and set up your device with JetPack 4.4.1.


1 Like

Thanks a lot for your help… yes,its finally solved… my jetpack version is 4.5.1 so I needed a container tag : v2.0.1-r32.5.0 for it. I used the following comment :

echo “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” >

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