Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error : nvidia-docker command not found #9

Open
LTHlidar opened this issue Jan 29, 2024 · 1 comment
Open

error : nvidia-docker command not found #9

LTHlidar opened this issue Jan 29, 2024 · 1 comment

Comments

@LTHlidar
Copy link

LTHlidar commented Jan 29, 2024

./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
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants