Code Monkey home page Code Monkey logo

Comments (3)

suessmann avatar suessmann commented on June 17, 2024

Hi Klaas!

SUMo is not a very friendly tool tbh. As your question is not directly connected with the code I wrote, I suggest to try googling something on the topic of SUMo + Docker.

However, my assumption is that there's a problem with closed ports inside your docker container. As far as I remember, SUMo starts a server on your local machine, but it might be not accessible for some Docker-ish reasons. Since I never used SUMo in Docker, I can't really tell you more. My suggestion would be to try pre-configured docker with SUMo (https://github.com/bogaotory/docker-sumo maybe this is what you need).

from intelligent_traffic_lights.

KlaasTilman avatar KlaasTilman commented on June 17, 2024

Thanks for the reply! We will further investigate.

from intelligent_traffic_lights.

sjoukedv avatar sjoukedv commented on June 17, 2024

We managed to find a working solution.

Dockerfile

FROM ubuntu:bionic
....
RUN apt-get install -y \
    xserver-xorg-video-dummy \
    x11-apps
.....

docker-compose.yml

services:
  intelligent_traffic_lights:
    build: .
    volumes:
      ....
      - /tmp/.X11-unix/:/tmp/.X11-unix/
    environment:
      - DISPLAY=$DISPLAY

from intelligent_traffic_lights.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.