readme: explain docker usage 📝

This commit is contained in:
Jannis R 2020-12-02 17:53:31 +01:00
parent 4aa500b867
commit 9a8a64d38e
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -75,6 +75,20 @@ input GTFS feed and the input configuration.
This can be used to avoid parsing (for example) the entire `planet.osm` on each
run.
## via Docker
You can use the [`ad-freiburg/pfaedle` Docker image](https://hub.docker.com/repository/docker/ad-freiburg/pfaedle) by mounting the OSM & GTFS data into the container:
```shell
docker run -i --rm \
# mount OSM data
--volume /path/to/osm/data:/osm \
# mount GTFS data
--volume /path/to/gtfs/data:/gtfs \
# tell pfaedle where to find the data
pfaedle -x /osm/osm-data.xml -i /gtfs
```
## Debugging
The following flags may be useful for debugging: