How to create a persistent docker container for Isaac ROS cuVSLAM?

Hi,

I am trying to create a persistent docker container from the cuVSLAM docker image but I am unable to do so because when I create a container with the following flag, I get some “Udev not supported” type of error. I create the container like the following :

docker run -d --gpus all --network host -p 8080:8080 --name myIsaacContainer -v /home/shivam157/workspaces:/workspaces myisaac:v1

“myIsaac:v1” is the image name of the latest cuVSLAM.

The following is the error when I start the container:

shivam157@ubuntu:~$ docker start -ai myIsaacContainer 
 * udev does not support containers, not started

How do I create persistent docker container for cuVSLAM?

Hi @ssharma4

To create a custom docker for Isaac ROS we suggest following our documentation: Isaac ROS Dev — isaac_ros_docs documentation

Following that guide, you will no longer encounter the udev error.

i am wanting to run isaac vslam on my x86_64 with ros2 humble ubuntu 22.04, and one shell script i found, but it didnt have cuVSLAM please send the CUvslam image

Isaac containers need bunch of env variables and mounts set, so you need something similar to run_dev.sh script. In Isaac ROS 4 I believe that was moved to run_dev.py but principle is similar.

If you want more “persistent” solution I recommend creating your own dockerfile with your own workspace and use some Isaac_ROS image as base and create your own run script. Then you can build packages from source and have them ready when you run/join a container.