Public | Automated Build

Last pushed: 2 years ago
Short Description
valhalla server
Full Description

Dockerfile for Valhalla

This Dockerfile provides an easy way to build and deploy Mapzen's Valhalla, an open-source routing engine, without configuring the full Chef install.

Not ready to mess with Docker or Chef? Mapzen provides hosted versions of these services under the names Turn-by-Turn, Matrix, and Elevation. Sign up for a free developer key at

Back to this Dockerfile: It defaults to using an OpenStreetMap extract of Trento, IT, but you can change this if you like, in the Dockerfile. Browse Mapzen's Metro Extracts service for other regions, and copy the URL for a OSM PBF-formatted extract.

To build the Docker image issue:


To run instead issue:

Tips for Running on a Mac

For easiest setup, use the Docker for Mac package, currently available for beta testing.

Increase resources available to Docker to at least 4 CPU cores and 4Gb RAM:

If your container can't connect to to checkout libraries, you may need to edit your /etc/resolve.conf. For example, set your Mac WiFi to use Google's public DNS servers, as well as a local router:

sudo networksetup -setdnsservers Wi-Fi
Good to have in future:
  • A facility to load in a running container multiple OSM extracts.
Docker Pull Command
Source Repository