In this tutorial i will show you how to install Watchtower using Portainer and Docker With watchtower you can update the running version of your containerized 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.
If you don't have the Docker Engine and Portainer apps installed on your NAS, install them using this guide Docker Engine and Portainer. If you have them already installed, proceed further.
If you already have them from a previous container installation, proceed to Step 3. If not, follow this guide to launch a web terminal and run the command below
id
You can also use putty or any other SSH client. In this case, ssh service must run on your NAS
Find your current time zone on this website, as example for Brussels is:
TZ=Europe/Brussels
Open Portainer using the icon from TOS desktop ( if Portainer is already installed and enabled), or enable Portainer from App Center and open it from there by typing in your web browser http://yournasip:19000.
After you login on Portainer, go to Home, then click on your Local Environment
Go to Stacks and click on Add stack
Sorry! You need to LOG IN to see this part of the content
Watchtower doesn't have any web interface. In order to see it's activities, check the logfile by pressing on the small button on the container line
Now you can see watchtower activity and the first check will be done in 24 hours.
All apps here are not officially provided by TerraMaster, but developed by me in spare time. All the apps you can download here are free. If you encounter problems while using the app, I can provide you with advice and help as much as i can. Since it takes me a lot of time to maintain these apps and provide technical support, I would appreciate if you make a donation to support my work and continue to provide up to date versions.
Wachtower
A container-based solution for automating Docker container base image updates
About: https://containrrr.dev/watchtower
In this tutorial i will show you how to install Watchtower using Portainer and Docker
With watchtower you can update the running version of your containerized 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.
If you don't have the Docker Engine and Portainer apps installed on your NAS, install them using this guide Docker Engine and Portainer. If you have them already installed, proceed further.
If you already have them from a previous container installation, proceed to Step 3. If not, follow this guide to launch a web terminal and run the command below
id
You can also use putty or any other SSH client. In this case, ssh service must run on your NAS
Find your current time zone on this website, as example for Brussels is:
TZ=Europe/Brussels
Open Portainer
using the icon from TOS desktop ( if Portainer is already installed and enabled), or enable Portainer from App Center and open it from thereby typing in your web browserhttp://yournasip:19000
.After you login on Portainer, go to Home, then click on your Local Environment
Go to Stacks and click on Add stack
Watchtower doesn't have any web interface. In order to see it's activities, check the logfile by pressing on the small button on the container line
Now you can see watchtower activity and the first check will be done in 24 hours.