version: "3.2" services: ros: image: ros/custom build: context: ./build_ros args: ROS: galactic #Desired ROS version user: 1000:1000 #Fill in your id's here. (UID:GUI) volumes: - /tmp/.X11-unix:/tmp/.X11-unix:rw - ./ros:/home/ros devices: - /dev/dri:/dev/dri environment: - DISPLAY=$DISPLAY - XAUTHORITY=$XAUTHORITY entrypoint: /bin/bash stdin_open: true tty: true #group_add: # - video # - render