Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 1.67 KB

README.md

File metadata and controls

47 lines (26 loc) · 1.67 KB

Apache Tika Server w/ Tesseract in Docker

Sets up a container based on java:7

Includes

If you prefer the latest stable version of Tika-server (including OCR via Tesseract), you may want to consider logicalspark/docker-tikaserver

Usage

To use the image from the Docker registry, just do:

sudo docker run -d -p 9998:9998 mattfullerton/tika-tesseract-docker

N.B.: This automated build has a problem preventing the process from running. An alternative, manually built repository is at mattfullerton/tika-tesseract-docker-no-automation, or you may have success building yourself (below), or not. I am trying to understand how this can happen!

I.e., alternatively try:

sudo docker run -d -p 9998:9998 mattfullerton/tika-tesseract-docker-no-automation

To build and run the container, do the following:

sudo docker build -t tika github.com/mattfullerton/tika
sudo docker run -d -p 9998:9998 tika

Test with commands like:

curl -T testpdf.pdf http://localhost:9998/tika
curl -T multipage_tiff_example.tif http://localhost:9998/tika

The second command uses OCR.

Author

Credits