osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Docker [error] the required argument for option '--threads' is missing

Open Etoneja opened this issue 6 years ago • 1 comments

Hello!

I am following this instruction https://github.com/Project-OSRM/osrm-backend/wiki/Docker-Recipes

and after running following command

~/projects/osrm$ docker run -t -v "${PWD}:/data" osrm/osrm-backend:v5.22.0 osrm-extract -p /opt/car.lua /data/northwestern-fed-district-latest.osm.pbf

I get an error:

[error] the required argument for option '--threads' is missing

I suppose it comes from osrm-extract.

What I tried:

  1. Tried latest and v5.22.0 osrm-backend image versions
  2. Manually specify --threads=2 and --threads 2` for osrm-extract
  3. Search by issues

I still get:

[error] the required argument for option '--threads' is missing

How it can be fixed?

Etoneja avatar Sep 21 '20 00:09 Etoneja

Never mind. There was a syntax error on my side.

Etoneja avatar Sep 21 '20 00:09 Etoneja