You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
./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.
The text was updated successfully, but these errors were encountered: