Troubleshoot install with docker

Hi all,
I have a Centos 8 server with Docker version 20.10.16, build aa7e414 , docker-compose version 1.27.4, build 40524192 installed, I want to try openrouteservice Installation via Docker.
I have read documents
What I did:

  • git clone sourcecode
  • cd openrouteservice
  • cd docker
  • mkdir -p conf elevation_cache graphs logs/ors logs/tomcat
  • docker-compose up -d

docker ps -a
45572d05c8db openrouteservice/openrouteservice:latest “/bin/bash /ors-core…” 7 minutes ago Up 7 minutes>8080/tcp,>9001/tcp ors-app

docker logs ors-app

openrouteservice configuration

ors-config.json exists in ors-conf folder. Copy config to /ors-core/openrouteservice/src/main/resources/ors-config.json

Package openrouteservice and deploy to Tomcat

I cannot access to


I cannot telnet localhost or myserverIP 8080 , because tomcat in container not running, this is when I run

docker-compose up
Creating network “docker_default” with the default driver
Creating ors-app … done
Attaching to ors-app
ors-app | ### openrouteservice configuration ###
ors-app | No ors-config.json in ors-conf folder. Copy config from /ors-core/openrouteservice/src/main/resources/ors-config.json
ors-app | ### Package openrouteservice and deploy to Tomcat ###
(it hangs here forever)

Please give me some advice, thank you very much.


Have a look here - looks like the same problem, steps to debug should be the same.
Please post your output or your findings here, though - these issues might not be related after all :slight_smile:

Best regards

Hi @jschnell
Thank for your reply, turns out the problem was I didn’t wait long enough.
I changed OSM data to vietnam-latest , increased memory to 5-6GB.
I waited four hours, until "status and “health” return ok, is that normal ?


I’m glad to hear that :slight_smile:

the timing is heavily dependent on

  • your machine specs
  • your network (as I think the mvn package-step in the pulls a lot of packages)
  • the size of (and density of road network in) your pbf file
  • the number of profiles activated in the ors-config.json
  • the amount of preparation activated in the ors-config.json

Overall, I’d say four hours is rather long, since the vietnam file is not too big, but not unheard of.