Closed ktk closed 8 years ago
Hi @ktk,
Thanks for reporting it. We have created a Docker file to put it on the Docker Hub (also you can build from scratch). Our build command stops with a rm just to save space on app layer .
Please try this command:
docker run -p 1111:1111 -it dbpedia/lookup java -jar /opt/lookup/dbpedia-lookup-3.1-jar-with-dependencies.jar /opt/lookup/2015-10/
And then try
http://localhost:1111/api/search/PrefixSearch?QueryClass=&MaxHits=5&QueryString=berl
TODOs for me:
I try to understand the docker image for lookup. The
Dockerfile
itself is already confusing me as it looks like there is no command executed when the container is started, it stops with arm
command and no service executed.When I tried building it on my own and executed a shell I cannot execute the jar:
My expectation is that with the docker image I get a lookup service on port 1111 exposed and I can use this to query. Am I missing something here?