diff --git a/docker-compose.yaml b/docker-compose.yaml index 2789079..e9915b8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,10 +4,15 @@ services: 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 networks: ros_network: