Taeyoung96 / FAST_LIO_ROS2

[ROS2 humble] ROS2 wrapper for FAST-LIO package
GNU General Public License v2.0
74 stars 18 forks source link

error : nvidia-docker command not found #9

Open LTHlidar opened 9 months ago

LTHlidar commented 9 months ago

./container_run.sh fast-lio-ros2 fast-lio-ros2:latest When I ran the above command, I got error : nvidia-docker command not found.

in container_run.sh file

nvidia-docker run --privileged -it \ -e NVIDIA_DRIVER_CAPABILITIES=all \ -e NVIDIA_VISIBLE_DEVICES=all \ --volume="$PROJECT_DIR:/root/ros2_ws/src" \ --volume=/data/LIDAR_dataset:/root/data \ --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \ --net=host \ --ipc=host \ --shm-size=4gb \ --name="$CONTAINER_NAME" \ --env="DISPLAY=$DISPLAY" \ "$IMAGE_NAME" /bin/bash need to be fixed to docker run --gpus all --privileged -it \ -e NVIDIA_DRIVER_CAPABILITIES=all \ -e NVIDIA_VISIBLE_DEVICES=all \ --volume="$PROJECT_DIR:/root/ros2_ws/src" \ --volume=/data/LIDAR_dataset:/root/data \ --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \ --net=host \ --ipc=host \ --shm-size=4gb \ --name="$CONTAINER_NAME" \ --env="DISPLAY=$DISPLAY" \ "$IMAGE_NAME" /bin/bash

After changing it, no errors occurred.

Taeyoung96 commented 9 months ago

@LTHlidar
Thanks for your report! If you don't mind, could you send me a pull request with the above?
With this latest update, it seems that the command nvidia-driver is no longer used.