Hi there,
I'm quite new at OpenOffice and Docker. I just finished building a Docker image using this guide: https://wiki.openoffice.org/wiki/Docume ... _Container
The container is running, but I would like to know how I can approach it. My goal is to use Java to convert documents to pdf, but I don't know if OpenOffice is really running (Docker says it is), and where it is listening as a service. Ideally I'd like to make API calls to it.
Does anyone know?
Start dockerized OpenOffice
Start dockerized OpenOffice
Last edited by MrProgrammer on Wed May 11, 2022 6:48 pm, edited 1 time in total.
Reason: Moved topic from Linux forum to External Programs since Rjj95's forum signature says MacOS
Reason: Moved topic from Linux forum to External Programs since Rjj95's forum signature says MacOS
OpenOffice 4.1.12 with MacOS Latest
Re: Start dockerized OpenOffice
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
-
- Posts: 310
- Joined: Sun Sep 06, 2020 8:27 am
Re: Start dockerized OpenOffice
As containers are isolated you need a shell running inside your container. A command in this shell can reach the socket inside the same container for the first test.
If this is working you may try to make the port available to the external host.
J
PS: As there is a headless conversion already possible from the command-line I think using java-api-calls over sockets to a docker-container running AOO/LO a bit complicated, but you may have reasons for this setup...
If this is working you may try to make the port available to the external host.
J
PS: As there is a headless conversion already possible from the command-line I think using java-api-calls over sockets to a docker-container running AOO/LO a bit complicated, but you may have reasons for this setup...
OpenOffice 3.1 on Windows Vista