Isaac ROS Setup: Docker launch failed

Hi, I am using the Jetson Orin Nano 8GB Developer Kit and would like to use Isaac ROS. I followed the instructions on this website:
https://nvidia-isaac-ros.github.io/getting_started/index.html

I completed the Compute Setup and Developer Environment Setup but am currently stuck at the Sensors Setup (Isaac ROS RealSense Setup), detailed on this page:
https://nvidia-isaac-ros.github.io/getting_started/hardware_setup/sensors/realsense_setup.html

While performing the fourth step—launching the Docker container—I encountered the following error:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: could not apply required modification to OCI specification: error modifying OCI spec: failed to inject CDI devices: unresolvable CDI devices nvidia.com/gpu=all, nvidia.com/pva=all: unknown.

Below is the full terminal output for context:

mic-711on@ubuntu:/mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts$ cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \
./scripts/run_dev.sh -d ${ISAAC_ROS_WS}
Launching Isaac ROS Dev container with image key aarch64.ros2_humble.realsense: /mnt/nova_ssd/workspaces/isaac_ros-dev/
Building aarch64.ros2_humble.realsense base as image: isaac_ros_dev-aarch64
Building layered image for key aarch64.ros2_humble.realsense as isaac_ros_dev-aarch64
Using configured docker search paths: /mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker
Checking if base image nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble-realsense_c16b79a140e000f6cdd78ab7f4e4b7bf exists on remote registry
Checking if base image nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a exists on remote registry
Found pre-built base image: nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a
aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a: Pulling from nvidia/isaac/ros
a1df1d4a17c6: Pulling fs layer 
cedbafbacff5: Pulling fs layer 
0379bab86fa5: Pulling fs layer 
9adc6c4df089: Pulling fs layer 
d12200bdeaf7: Pulling fs layer 
a5d03c53eccc: Pulling fs layer 
50098d13fc72: Pulling fs layer 
8b0220d29c8a: Pulling fs layer 
1678e20f0065: Pulling fs layer 
1fa15a9d1b49: Pulling fs layer 
ee4cdd77611c: Pulling fs layer 
43a2604351ff: Pulling fs layer 
a831ed92d91f: Pulling fs layer 
8822495b5909: Pulling fs layer 
4f4fb700ef54: Pulling fs layer 
3d2c6ef52254: Pulling fs layer 
9bba923069bb: Pulling fs layer 
05633626ab42: Pulling fs layer 
f480f2ff4588: Pulling fs layer 
809f9449423b: Pulling fs layer 
a0247ff53ce1: Pulling fs layer 
eb8033ad6aa7: Pulling fs layer 
97c97adbe778: Pulling fs layer 
5351e8a7ee59: Pulling fs layer 
4eb0d7d71f41: Pulling fs layer 
e0d4c4341ac8: Pulling fs layer 
a654eaca1aa1: Pulling fs layer 
cedbafbacff5: Extracting  5.014MB/67.86MB
79affaa5cf06: Pulling fs layer 
9bba923069bb: Waiting 
3a12e5f82c07: Pull complete 
6c5f51c473e3: Pull complete 
eca004aae9eb: Pull complete 
5985c61dd396: Pull complete 
32084d2d7b61: Pull complete 
f773fbfb8d07: Pull complete 
368b7fdfa0c0: Pull complete 
8394d48adb9a: Pull complete 
51dad21e1d55: Pull complete 
008a0fa05019: Pull complete 
f6c9caf8b90e: Pull complete 
7e7fc16dacf5: Pull complete 
d838a11e023f: Pull complete 
fb08549bbe23: Pull complete 
243ffd40346f: Pull complete 
fff38c006e63: Pull complete 
522b8f873586: Pull complete 
84806d052eac: Pull complete 
6df3b6ea8320: Pull complete 
79e72cf039e7: Pull complete 
51b9a6a75c1a: Pull complete 
751c7c92192b: Pull complete 
4a609fed2d87: Pull complete 
7b812259d908: Pull complete 
8d4d11910044: Pull complete 
e2f846dd99de: Pull complete 
032af1b90438: Pull complete 
352e05c81587: Pull complete 
dfa78ba21a82: Pull complete 
82dcf8c1dd6d: Pull complete 
03fbc0202a35: Pull complete 
58995a8dddaa: Pull complete 
27a6dbc7f18a: Pull complete 
3b2b01c6fbd9: Pull complete 
fa0f6af2795e: Pull complete 
ab832f2aaacb: Pull complete 
a500d0dec18e: Pull complete 
4b13794ccdc1: Pull complete 
594118d19ec0: Pull complete 
8a2be790b76d: Pull complete 
841b8e487971: Pull complete 
21dc0a2977ea: Pull complete 
2e4cfc8731af: Pull complete 
2310eeaab245: Pull complete 
14d6e4b728ef: Pull complete 
bcce5ff10aee: Pull complete 
ffb30784274e: Pull complete 
82c1291a259f: Pull complete 
3fd484672b7b: Pull complete 
a5db071da56f: Pull complete 
352022335d33: Pull complete 
1e25e2a5f400: Pull complete 
79610f491c8b: Pull complete 
6e2b307668f7: Pull complete 
Digest: sha256:69b1a8b4373fce2a57ab656cd7c7e2a714f685cfd62168418caeaa216d4315a0
Status: Downloaded newer image for nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a
nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a
Finished pulling pre-built base image: nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a
Resolved the following 1 Dockerfiles for target image: aarch64.ros2_humble.realsense
/mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.realsense
Building /mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.realsense as image: isaac_ros_dev-aarch64 with base: nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a
[+] Building 3612.8s (13/13) FINISHED                                                                                                                                                        docker:default
 => [internal] load build definition from Dockerfile.realsense                                                                                                                                         0.1s
 => => transferring dockerfile: 2.42kB                                                                                                                                                                 0.0s
 => [internal] load metadata for nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a                                                                                         0.0s
 => [internal] load .dockerignore                                                                                                                                                                      0.1s
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => [internal] load build context                                                                                                                                                                      0.2s
 => => transferring context: 11.54kB                                                                                                                                                                   0.0s
 => [stage-0 1/8] FROM nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_deaea1a392d5c02f76be3f4651f4b65a                                                                                                   4.1s
 => [stage-0 2/8] COPY scripts/build-librealsense.sh /opt/realsense/build-librealsense.sh                                                                                                              4.7s
 => [stage-0 3/8] COPY scripts/install-realsense-dependencies.sh /opt/realsense/install-realsense-dependencies.sh                                                                                      0.1s
 => [stage-0 4/8] RUN chmod +x /opt/realsense/install-realsense-dependencies.sh &&     /opt/realsense/install-realsense-dependencies.sh;     chmod +x /opt/realsense/build-librealsense.sh && /opt  3046.4s
 => [stage-0 5/8] RUN mkdir -p /opt/realsense/                                                                                                                                                         0.1s 
 => [stage-0 6/8] COPY scripts/hotplug-realsense.sh /opt/realsense/hotplug-realsense.sh                                                                                                                0.1s 
 => [stage-0 7/8] COPY udev_rules/99-realsense-libusb-custom.rules /etc/udev/rules.d/99-realsense-libusb-custom.rules                                                                                  0.1s 
 => [stage-0 8/8] RUN --mount=type=cache,target=/var/cache/apt     mkdir -p /opt/ros/humble/src && cd /opt/ros/humble/src     && git clone https://github.com/NVIDIA-ISAAC-ROS/realsense-ros.git -b  545.1s 
 => exporting to image                                                                                                                                                                                11.8s 
 => => exporting layers                                                                                                                                                                               11.8s 
 => => writing image sha256:d1bc98e3c1285a3e5f6050bf288b8948a2c2e0a67d2db042356cf7c0f293b285                                                                                                           0.0s 
 => => naming to docker.io/library/isaac_ros_dev-aarch64                                                                                                                                               0.0s 
Running isaac_ros_dev-aarch64-container                                                                                                                                                                     
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: could not apply required modification to OCI specification: error modifying OCI spec: failed to inject CDI devices: unresolvable CDI devices nvidia.com/gpu=all, nvidia.com/pva=all: unknown.
/mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common
mic-711on@ubuntu:/mnt/nova_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common$ 

Any suggestions or insights would be greatly appreciated!

Hi @AustinCTH ,

Could you please try below command to see if it can solve the problem?

sudo nvidia-ctk cdi generate --mode=csv --output=/etc/cdi/nvidia.yaml

Thanks.

Hi,
I got exactly the same problem on the Xavier NX 16GB.

I tried @jolin s command but it did not resolve the problem for me unfortunately.

Any help appreciated!!

Hi @nagapie ,

Are you using JP6.1?
Have you tried the whole steps in Jetson Setup for VPI — isaac_ros_docs documentation ?

Please let us know, thank you.

1 Like

No, I am using JP 5.1.3 from the Avermedia EN715 board.

I did not follow those instructions, but the 2.1 Version documentation.

Yeah I found that I forgot the Jetson Setup for VPI. After finishing this setup, the problem was solved. Thanks @jolin !

1 Like

hi @nagapie

did you finish all steps from the website @jolin pasted? I mean not only this command

sudo nvidia-ctk cdi generate --mode=csv --output=/etc/cdi/nvidia.yaml

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