This is a guide on setting up dockupdater to maintain all dock containers on syology. After comparing with Watchtower and Ouroboros. I decided to use dockupdater instead.

Prerequisites

  • SSH access to the Synology
  • Docker package installed on Synology
1. Click on "Package Center"
2. Search for Docker and install

Installation steps

Step 1 - SSH into Synology DSM

  1. Get your TZ from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  2. INTERVAL is set in seconds. Default is 30 second. Important to set the interval here. Else you have to delete the container to set it again.

SSH into your synology using either putty or terminal. Once logged in type the command below.

sudo docker run -d --name dockupdater -e INTERVAL=30 -e TZ=<set to your country timezone> -v /var/run/docker.sock:/var/run/docker.sock --restart unless-stopped dockupdater/dockupdater

Step 2 - Dockupdater in Synology

Head over to Synology Docker app and you will be able to see the docker container created for dockupdater.

You can click on the Terminal Tab to verify if dockupdater is monitoring your docker container

Step 3 - Editing Interval seconds

To edit the interval seconds you have to stop the docker container and delete it. Repeat step 1 and set the interval again. Setting via the GUI in synology docker will not work as cause it not to start.

Reference

https://github.com/dockupdater/dockupdater