Start dockerized OpenOffice

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
Rjj95
Posts: 1
Joined: Wed May 11, 2022 6:29 pm

Start dockerized OpenOffice

Post by Rjj95 »

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?
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
OpenOffice 4.1.12 with MacOS Latest
JeJe
Volunteer
Posts: 2764
Joined: Wed Mar 09, 2016 2:40 pm

Re: Start dockerized OpenOffice

Post by JeJe »

Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Mountaineer
Posts: 310
Joined: Sun Sep 06, 2020 8:27 am

Re: Start dockerized OpenOffice

Post by Mountaineer »

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...
OpenOffice 3.1 on Windows Vista
Post Reply