Skip to content

A Docker image of the MATSim open-source framework for implementing large-scale agent-based transport simulations.

License

Notifications You must be signed in to change notification settings

acabello/matsim-docker

 
 

Repository files navigation

MATSim Docker image

Docker Publish Java CI with Maven

A docker image of the MATSim open-source framework:

  • Container calls the main method of the DockerEntrypoint class when started.
  • Provide input files with config.xml and save output files from the container using volumes.
  • Make sure the config.xml is configured to output the information to /opt/matsim/data/output/

<param name="outputDirectory" value="/opt/matsim/data/output/" />

  • Pass additional arguments to MATSim using commands that are following the run statement.

Getting started

Run MATSim inside a container:

docker run \
    -v <host/path/to/input>:/opt/matsim/data/input:ro \
    -v <host/path/to/output>:/opt/matsim/data/output \
    maptic/matsim:latest <optional MATSIM-ARGS>

To pull the recent version of the image, refer to the latest tag.

Make sure

Local build and development

Set the input and output path in the docker-compose.yml file, then run:

docker-compose build
docker-compose up

References

About

A Docker image of the MATSim open-source framework for implementing large-scale agent-based transport simulations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 57.7%
  • Shell 25.4%
  • Dockerfile 16.9%