Skip to content

Commit 454646f

Browse files
doc(readme): update docker run command
1 parent 7b02e14 commit 454646f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ This command install Azure Kinect SDK and ROS2 driver.
3636
Once the container is built and your camera is plugged in, run the following command to launch the container:
3737

3838
```bash
39-
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --network=host --privileged ghcr.io/isri-aist/azure-kinect-container:humble
39+
docker run -it -d --rm -e DISPLAY=$DISPLAY -e ROS_DOMAIN_ID=10 -v /tmp/.X11-unix:/tmp/.X11-unix --net=host --ipc=host --privileged ghcr.io/isri-aist/azure-kinect-container:humble
40+
41+
export ROS_DOMAIN_ID=10
42+
rqt # can be used to visualize current image
4043
```
4144

4245
> ℹ️ --privileged is required to access USB devices. X11 display is passed to allow GUI applications like RViz to render (if used).

0 commit comments

Comments
 (0)