Docker化的LibreOffice无头服务,集成jre8支持,可作为文档转换和处理的后台服务运行,支持字体扩展和端口监听。
docker-libreoffice
This is a dockerized LibreOffice packaged as a headess service with jre8 support.
This repository contains Dockerfile of http://www.libreoffice.org/ for https://www.docker.com/'s automated build.
Base Docker Image
- https://hub.docker.com/_/openjdk/
- https://hub.docker.com/_/openjdk/
Installation
-
Install https://www.docker.com/.
-
Download https://hub.docker.com/r/renothing/libreoffice/ from public https://registry.hub.docker.com/:
docker pull renothing/libreoffice(alternatively, you can build an image from Dockerfile:
docker build -t="renothing/libreoffice:tag" http://github.com/renothing/docker-libreoffice) additional fonts would be added by volume mounting, for example:
docker run -dit --name libreoffice -v yourfontsvolumepath:/usr/share/fonts/msfonts renothing/libreoffice
Usage
docker run -dit --name libreoffice -v yourfontsvolumepath:/usr/share/fonts/msfonts renothing/libreoffice #run in headless service mode and listen on port 8001: docker run -dit --name libreoffice --entrypoint /usr/bin/soffice renothing/libreoffice:alpine --headless --norestore --accept='socket,host=0,port=8001,tcpNoDelay=1;urp;'
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 libreoffice 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务