How to Install LibreOffice on Your Synology NAS with Docker

Last updated on January 6th, 2023 at 09:43 pm

LibreOffice is a free and powerful office suite, and a successor to OpenOffice.org (commonly known as OpenOffice). Its clean interface and feature-rich tools help you unleash your creativity and enhance your productivity..

Official Website
GitHub Page

Step 1

Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center.

Step 2

We now need to create the Docker folder. Head into File Station and open the Docker folder. Select Create, choose Create folder and name it libreoffice.

Step 3

We will now head into Control Panel > Task Scheduler > Create > Scheduled Task and click User-defined script. (see demonstration)

Step 4

In the window that appears, insert the following:

In the General tab, In the Task field, enter LibreOffice. From the User list, select root. Uncheck the Enabled option.

In the Schedule tab, Select Run on the following date (make sure It’s today’s date). Now select Do not repeat.

In the Task Settings tab, under Notification, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area. Now click OK.

docker run -d --name=libreoffice \
-p 3004:3000 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Europe/London \
-v /volume1/docker/libreoffice:/config \
--restart always \
ghcr.io/linuxserver/libreoffice

Important: Remember to update the PUID, PGID, TZ and directory values to match your own.

Step 5

When the below warning appears, press OK.

Step 6

You will now see your list of tasks. Select LibreOffice, now press Run.

Step 7

When asked to run, press Yes.

Step 8

The installation process has now finished. Give it a few seconds to appear in your Docker list.

Step 9

Open your browser and enter the link to your new container http://synologyip:3004.

Docker Compose and Portainer

If you would prefer to install with Docker Compose or Portainer, use the following code. You can also view a demonstration here.

version: '3.3'
services:
    linuxserver:
        container_name: libreoffice
        ports:
            - '3004:3000'
        environment:
            - PUID=1026
            - PGID=100
            - TZ=Europe/London
        volumes:
            - '/volume1/docker/libreoffice:/config'
        restart: always
        image: ghcr.io/linuxserver/libreoffice

More Guides:

Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web ChatpadAI Cleanarr Composerize Crypto DailyTxT Dashy deemix Deluge Emby EmulatorJS Ethereum Euterpe FileBot FilePizza FileZilla Flame Focalboard FreshRSS Grafana Grocy Heimdall Homarr Home Assistant Homebridge Jackett Jellyfin Jellyseerr Joplin Kavita Komga LanguageTool LibreOffice Lidarr Mealie MediaGoblin Medusa Memegen Minecraft Minecraft Bedrock MQTT MusicBrainz MyMediaForAlexa Navidrome Node-RED NZBGet NZBHydra Ombi Overseerr PaperlessNGX Pashword Password Cards Petio Pi-Hole Picard Plex Portainer PostgreSQL Prowlarr PUID & PGID pwndrop Radarr Radicale Readarr ruTorrent SABnzbd SearX Seed Phrase Shiori Sonarr SpeedTest Stash Storm Tailscale TasmoAdmin Tautulli Theia Trilium TubeSync Unpackerr Uptime Kuma Vaultwarden Watchtower WebPDF Whisparr Wordle YouTubeDL


Leave a Comment

Scroll to Top