Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.35 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.35 KB

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.
  • 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.

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