Skip to content

TomCC7/ros-docker-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ros-docker-gui

ROS docker image with GUI and Nvidia GPU acceleration support. There's a more comprehensive repo here.

How to use

  • Install nvidia-container-toolkit,

  • clone this repository and build

    docker build -t ros-docker-gui .
  • run the container

    docker run -it \
           -e DISPLAY \
           --gpus all \
           -v /tmp/.X11-unix/:/tmp/.X11-unix/  \
           --network host \
           --name ros-gui \
           ros-docker-gui
  • configure xauth

    • on host machine, copy token listed by
    xauth list
    • in docker, add the token
    xauth add <token>
  • tests

    # gpu
    nvidia-smi
    # GUI application
    glmark2
    # gazebo
    gazebo
  • initialize rosdep

sudo rosdep init
rosdep update

About

Docker image for ros noetic with GUI support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published