-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Docker Recipes
Daniel J. H edited this page Jan 3, 2017
·
12 revisions
We publish ready to use lightweight Docker images based on Alpine Linux for each OSRM release:
https://hub.docker.com/r/osrm/osrm-backend/
They can be used via
wget wget http://download.geofabrik.de/europe/monaco-latest.osm.pbf
docker run -t -v $(pwd):/data osrm/osrm-backend:vX.Y.Z osrm-extract -p /opt/car.lua /data/monaco-latest.osm.pbf
docker run -t -v $(pwd):/data osrm/osrm-backend:vX.Y.Z osrm-contract /data/monaco-latest.osrm
docker run -t -i -p 5000:5000 -v $(pwd):/data osrm/osrm-backend:vX.Y.Z osrm-routed /data/monaco-latest.osrm
Replace X.Y.Z
with the latest stable OSRM image tag you want to run. Check the published tags [here]https://hub.docker.com/r/osrm/osrm-backend/tags/).
These images are created via utilities here: