[
https://issues.apache.org/jira/browse/TIKA-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459284#comment-17459284
]
ASF GitHub Bot commented on TIKA-3417:
--------------------------------------
wjwilson-ibm commented on pull request #4:
URL: https://github.com/apache/tika-docker/pull/4#issuecomment-993718392
Hi @dameikle I can confirm the image logicalspark/docker-tikaserver:1.27
changed yesterday. Thank you. Unfortunately, shelling into the running
container shows user root and the server running as root. This is same as
before. See details.
```
$ docker pull logicalspark/docker-tikaserver:1.27
1.27: Pulling from logicalspark/docker-tikaserver
7b1a6ab2e44d: Pull complete
778c5d10e7f8: Pull complete
a47716074ba4: Pull complete
3616900ae8b7: Pull complete
2e227631943d: Pull complete
bc6f84d523ee: Pull complete
Digest:
sha256:73149cc5c9f5376ade4a19d2fbf3f4d8c8ec7d219f06300cc9148df4ccc1277e
Status: Downloaded newer image for logicalspark/docker-tikaserver:1.27
docker.io/logicalspark/docker-tikaserver:1.27
$ docker run -ti logicalspark/docker-tikaserver bash
Dec 14, 2021 4:21:29 PM org.apache.tika.config.InitializableProblemHandler$3
handleInitializableProblem
WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
Dec 14, 2021 4:21:29 PM org.apache.tika.config.InitializableProblemHandler$3
handleInitializableProblem
WARNING: Tesseract OCR is installed and will be automatically applied to
image files unless
you've excluded the TesseractOCRParser from the default parser.
Tesseract may dramatically slow down content extraction (TIKA-2359).
As of Tika 1.15 (and prior versions), Tesseract is automatically called.
In future versions of Tika, users may need to turn the TesseractOCRParser on
via TikaConfig.
Dec 14, 2021 4:21:29 PM org.apache.tika.config.InitializableProblemHandler$3
handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
INFO Starting Apache Tika 1.27 server
INFO Setting the server's publish address to be http://0.0.0.0:9998/
INFO Logging initialized @1778ms to org.eclipse.jetty.util.log.Slf4jLog
INFO jetty-9.4.41.v20210516; built: 2021-05-16T23:56:28.993Z; git:
98607f93c7833e7dc59489b13f3cb0a114fb9f4c; jvm 14.0.2+12-Ubuntu-120.04
INFO Started ServerConnector@64beebb7{HTTP/1.1, (http/1.1)}{0.0.0.0:9998}
INFO Started @1896ms
WARN Empty contextPath
INFO Started o.e.j.s.h.ContextHandler@1922e6d{/,null,AVAILABLE}
INFO Started Apache Tika server at http://0.0.0.0:9998/
$ docker ps
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS NAMES
b6f4db72897a logicalspark/docker-tikaserver "/bin/sh -c 'exec ja…" 18
seconds ago Up 18 seconds 9998/tcp eager_kilby
$ docker exec -ti b6f4db72897a bash
root@b6f4db72897a:/# whoami
root
root@b6f4db72897a:/# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 3 16:21 pts/0 00:00:03 java -jar
/tika-server-1.27.jar -h 0.0.0.0 bash
root 45 0 0 16:21 pts/1 00:00:00 bash
root 55 45 0 16:23 pts/1 00:00:00 ps -ef
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Running tika-docker as non-root user
> ------------------------------------
>
> Key: TIKA-3417
> URL: https://issues.apache.org/jira/browse/TIKA-3417
> Project: Tika
> Issue Type: Improvement
> Components: docker, tika-docker
> Reporter: Lewis John McGibbney
> Assignee: Philip Southam
> Priority: Major
>
> The PR and context can be found at
> https://github.com/apache/tika-docker/pull/4
--
This message was sent by Atlassian Jira
(v8.20.1#820001)