ROS/docker-compose.yaml

26 lines
481 B
YAML
Executable File

version: "3.2"
services:
ros:
hostname: ros
image: ros/custom
build:
context: ./build_ros
args:
ROS: galactic #Desired ROS version
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ./home:/home/ros
devices:
- /dev/dri:/dev/dri
environment:
- DISPLAY=$DISPLAY
- XAUTHORITY=$XAUTHORITY
stdin_open: true
tty: true
ports:
- "2222:2222"
#group_add:
# - video
# - render