Skip to content

Commit 8e722f0

Browse files
committed
Add /dev/ to the volume
1 parent fb98953 commit 8e722f0

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

scripts/enter_isaac_ros_container.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@ image_key="ros2_humble.deepstream.user.zed.umn.gazebo"
66
docker_arg="-v /usr/local/zed/resources:/usr/local/zed/resources \
77
-v $HOME/rosbags:/rosbags \
88
-v /usr/local/zed/settings:/usr/local/zed/settings \
9-
-v /dev/v4l:/dev/v4l"
10-
11-
# Dynamically add ALL video devices present on the host
12-
for dev in /dev/video*; do
13-
if [ -e "$dev" ]; then
14-
docker_arg="$docker_arg --device $dev:$dev"
15-
fi
16-
done
9+
-v /dev:/dev \
10+
--privileged"
1711

1812
USE_CACHED_IMAGE=${1:-true}
1913

0 commit comments

Comments
 (0)