Synology: 30 Second Watchtower Install Using Task Scheduler & Docker

Synology 30 Second Watchtower Install Using Task Scheduler & Docker

Do you want to install Watchtower via Docker without a terminal? Are you tired of complicated guides? Do you want something quick and easy? Well today I will teach you how to install Watchtower on your Synology NAS in less than 30 seconds directly through the Task Scheduler option. It’ll be over in a couple of seconds and it’s essentially child’s play.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

1 install docker synology dsm

  • STEP 3

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.

1 30 Second Watchtower Install Using Task Scheduler Docker Synology NAS

  • STEP 4

Once you click on User-defined script a new window will open. Follow the instructions below:

  1. General: In the Task field type in “Install Watchtower“. Uncheck “Enabled” option.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run --name="watchtower" -d --restart=always -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower

2 30 Second Watchtower Install Using Task Scheduler Docker Synology NAS

  • STEP 5

After you click OK on STEP 4, select your “Install Watchtower” Task then click the “Run” tab. You will be asked to Install Watchtower – click Yes. Follow the instructions in the image below.

3 30 Second Watchtower Install Using Task Scheduler Docker Synology NAS

From now on, all your Docker Container will be automatically updated without you having to do anything.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Watchtower It has no graphical interface, it works via Docker in the background.
Note: I recommend you to install Portainer.

With Watchtower you can update the running version of your docker container app simply by pushing a new image to the Docker Hub or your own image registry. Watchtower will pull down your new image, gracefully shut down your existing container and restart it with the same options that were used when it was deployed initially.

This post was updated on Wednesday / September 16th, 2020 at 8:24 AM