Running soffice headless in a docker container

asked 2020-12-11 22:39:40 +0200

guilhermefacanha gravatar image

updated 2020-12-11 22:43:29 +0200

Hi, anyone knows how can we configure resources in a Docker Container that runs soffice headless.

Use case:

If I run the command soffice --headless conter-to pdf with the same docx file:

in a Standlone Server (VPS etc), localhost FULL OS (tested with centos, ubuntu, macos)
Successful conversion: docx [5039572b] to pdf in 123207ms
Aprox: 2minutes

using a docker container: (tested with centos and ubuntu)
Successful conversion: docx [5039572b] to pdf in 4789140ms
Aprox (78 minutes)

Reference: https://ask.libreoffice.org/en/questi...

edit retag flag offensive close merge delete