version: '3.8'
services:
ros2:
build: .
volumes:
- ./src:/ros2_ws/src
- /tmp/.X11-unix:/tmp/.X11-unix
networks:
- ros_network
tty: true
stdin_open: true
environment:
- DISPLAY=$DISPLAY
devices:
- /dev/dri:/dev/dri
ros_network:
driver: bridge
Hosted by CPS Cyber Physical Systems .