klokantech/osmnames-sphinxsearch

Using your own data

Closed this issue · 1 comments

I am typing this command to work with docker file but it returns the sample data everytime ; my docker command is
docker run -d --name klokantech-osmnames-sphinxsearch -v /Users/mma/Desktop/osmnames-sphinxsearch-master/data/index:/data/index/ -v /Users/mma/Desktop/osmnames-sphinxsearch-master/data/input/:/data/input/data.tsv -p 80:80 klokantech/osmnames-sphinxsearch

I am using the data from export of osmnames, and i made directory data/input/data.tsv

Dear Moustafa,

Please, read carefully our README about using docker image.

You have a wrong command for linking input data.tsv.
It should be -v /Users/mma/Desktop/osmnames-sphinxsearch-master/data/input/:/data/input/.