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.
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.
Set the input and output path in the docker-compose.yml
file, then run:
docker-compose build
docker-compose up