[Visual SLAM on nvidia-isaac-ros using Docker] Error while launching Docker

Hello, I’m trying to implement Visual SLAM on my jetson orin nano, and following the steps in Setup instructions page [Isaac ROS RealSense Setup — isaac_ros_docs documentation]

I succesfully setup my Jetson Orin Nano board, and installed ROS2 from isaac-ros repository.

However, when I tried to launch Docker as shown in the step 4 on the setup instructions page [Isaac ROS RealSense Setup — isaac_ros_docs documentation], I got following errors:

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.
~/workspaces/isaac_ros-dev/src/isaac_ros_common

It seems that Docker-related configuration has not been set appropriately, but I have not yet found the reason. I created a /etc/cdi/nvidia.yaml file and set the contents as below (but the issue has not been solved):

cdiVersion: "0.4.0" 
kind: "vendor" 
devices: 
  - name: "nvidia.com/gpu" 
    containerSpec: 
      mounts: 
        - type: "bind" 
          source: "/dev/nvidia0" 
          destination: "/dev/nvidia0" 
        - type: "bind" 
          source: "/dev/nvidiactl" 
          destination: "/dev/nvidiactl"

Could you give me some hints to solve the issue? Thank you!

Hi, I solved the issue by following the step below:
Jetson Setup for VPI

Thanks!

1 Like

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