Skip to content

Run with docker

Pablo Moreno edited this page Apr 9, 2017 · 1 revision

Run with docker

A relatively bleeding edge version can be run through:

docker run -p 8080:8080 -v /tmp:/tomcat/temp pcm32/pks-predictor:1.1-SNAPSHOT

And once is running (first time it will require pulling the entire image from docker hub), it can be accessed locally on the machine at:

http://localhost:8080/trans-AT-PKS

In this setup, the Terminal window where the docker command was executed will show the logs of Tomcat, displaying any issues produced by the Java part. Files produced temporally by the application will be available at the machines /tmp directory, normally inside folders with a number of digits, such as 1491755062295-0.

Since this is a development version, there might be issues. Please copy the logs of files produced and create an issue reflecting the problem and stating the source of the sequence given as a query.

Relevant files

The directory inside /tmp with results for each run will contain some relevant files for debugging:

  • run.out
  • run.err
  • concatenated.features

Clone this wiki locally