Last active
August 20, 2025 20:42
-
-
Save singhsegv/d933d1451a284a32f56940ca77d958ee to your computer and use it in GitHub Desktop.
Revisions
-
singhsegv revised this gist
Oct 27, 2024 . 1 changed file with 18 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,18 @@ ## Commands ``` xhost +local: ros2 launch gazebo_ros gazebo.launch.py // From the current directory docker run -it --network=host --ipc=host -v $PWD/lala:/lala:rw -v /tmp/.X11-unix:/tmp/.X11-unix:rw --env=DISPLAY --gpus=all --runtime=nvidia --env="QT_X11_NO_MITSHM=1" --env="NVIDIA_VISIBLE_DEVICES=all" --env="NVIDIA_DRIVER_CAPABILITIES=all" --device=/dev/dri:/dev/dri ros_foxy_personal docker run -it --network=host --ipc=host -v /tmp/.X11-unix:/tmp/.X11-unix:rw --env=DISPLAY --gpus=all --runtime=nvidia --env="QT_X11_NO_MITSHM=1" --env="NVIDIA_VISIBLE_DEVICES=all" --env="NVIDIA_DRIVER_CAPABILITIES=all" --device=/dev/dri:/dev/dri rajdeep1008/tello_ros_humble:latest TODO: Add python args thingy from ros documentation ``` ## Resources - https://medium.com/@tanishqchaudhary101010/running-gui-applications-in-docker-containers-with-nvidia-gpu-support-a-guide-using-ros-46a04046c067 -
singhsegv created this gist
Oct 27, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Lorem ipsum