Problems running dustynv ros2 humble docker image

Hi, I’m following steps from here in my jetson nano with ubuntu 18.04. Then run:

./run.sh dustynv/ros:humble-desktop-l4t-r35.4.1

and get this error:

elgarbe@jetson:~/jetson-containers$ ./run.sh dustynv/ros:humble-desktop-l4t-r35.4.1                                                                                                                              + docker run --runtime nvidia -it --rm --network host --volume /tmp/argus_socket:/tmp/argus_socket --volume /etc/enctune.conf:/etc/enctune.conf --volume /etc/nv_tegra_release:/etc/nv_tegra_release --volume /tmp/nv_jetson_model:/tmp/nv_jetson_model --volume /home/elgarbe/jetson-containers/data:/data --device /dev/snd --device /dev/bus/usb dustynv/ros:humble-desktop-l4t-r35.4.1                                        docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error 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=12073 /var/lib/docker/overlay2/58d91f461cca826b7d50b22b78b2790c68efd47900f79e08a3eb77fe8e6d1d75/merged]                                                                                              nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/58d91f461cca826b7d50b22b78b2790c68efd47900f79e08a3eb77fe8e6d1d75/merged/usr/lib/aarch64-linux-gnu/libcudnn_adv_infer_static_v8.a: file exists: unknown.

I’ve tried with docker run too:

elgarbe@jetson:~/jetson-containers$ docker run -it --rm --network=host dustynv/ros:humble-desktop-l4t-r35.4.1                                                                                                    docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error 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=12202 /var/lib/docker/overlay2/2ba355970ef3056aae91b64865ecb03d6cb379e376543041ab15673dd2c705f5/merged]                                                                                              nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/2ba355970ef3056aae91b64865ecb03d6cb379e376543041ab15673dd2c705f5/merged/usr/lib/aarch64-linux-gnu/libcudnn_adv_infer_static_v8.a: file exists: unknown. 

but same error.
Do I missing something?

Thank

This step is the one that broke the function of the image. Removing that step the image is running ok with

docker run -it --rm --network=host dustynv/ros:humble-desktop-l4t-r35.4.1

I’m wondering why

Hi @leogarberoglio, the issue you are having is because you are trying to run a container built for JetPack 5 on JetPack 4, and they are incompatible. Presuming that you are running JetPack 4.6.x, try running dustynv/ros:humble-desktop-l4t-r32.7.1 instead.