2024-02-29 13:32:31 +00:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
ros2:
|
|
|
|
build: .
|
2024-04-03 14:50:26 +00:00
|
|
|
privileged: true
|
2024-02-29 13:32:31 +00:00
|
|
|
volumes:
|
|
|
|
- ./src:/ros2_ws/src
|
2024-03-05 16:03:32 +00:00
|
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
2024-02-29 13:32:31 +00:00
|
|
|
networks:
|
|
|
|
- ros_network
|
|
|
|
tty: true
|
|
|
|
stdin_open: true
|
2024-03-05 16:03:32 +00:00
|
|
|
environment:
|
|
|
|
- DISPLAY=$DISPLAY
|
|
|
|
devices:
|
|
|
|
- /dev/dri:/dev/dri
|
2024-04-03 14:50:26 +00:00
|
|
|
- /dev/input/js0:/dev/input/js0
|
|
|
|
- /dev/input/js1:/dev/input/js1
|
2024-02-29 13:32:31 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
ros_network:
|
|
|
|
driver: bridge
|