Update Docker Containers Automatically Using WATCHTOWER!!

preview_player
Показать описание
This video is a tutorial on how to install watchtower and use it to automatically update docker containers.

Here are a couple of links to get you started.....

(0:00) Intro

(1:53) For starters, make sure that your docker containers are setup correctly to where they can be updated without losing your configuration.

(3:39) Now we are ready to install watchtower in docker....

watchtower:
container_name: watchtower
restart: always
image: containrrr/watchtower
environment:
- WATCHTOWER_NOTIFICATIONS=email
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=user
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=
volumes:
command: --debug true --cleanup true portainer adb tasmoadmin

Once you have all that in there, save the file and

sudo docker-compose up -d

Once its installed you can jump over to portainer to check it out. You should be good to go at this point, it will automatically update the containers as new images come available.

If you like the video please subscribe to my channel. If you have any questions or comments, hit me up in the comments below. As always, if there are any videos out there you would like to see that I don't already have out there, let me know in the comments as well and I will see what I can do.
Рекомендации по теме
Комментарии
Автор

Pretty sure I asked this a couple weeks ago, appreciate the help!

marauder
Автор

Thanks Adrian, thanks for another great tutorial ! can u explain when we want to collect all container as services and when configure different containers ?

Avico
Автор

Hi BurnsHa

Thank you for this wonderful video

Can you please help me how to pull the images from the private repository like harbor ?

idreesahmed
Автор

Thanks for the great video. I've now set up Watchtower. One question I had - is there a way of manually running the Watchtower update, or to control what time it searches for updates?

James-qrmo
Автор

Thanks Adrian.

You may be able to help me here. I run home assistant and on proxmox -> debian linux-> docker-> hass.io. I have several containers in docker under Debian. In installed potainer add-on in HA now r but add-on does not have authorization to show all the containers I have as I understand. There is no place for me to put root credentials to the add-on.



So my question is can removed potainer add-on in Hass.io and install potainer via debian and in that case will the add-ons be automatically be added as visible container?



my second question is -do you run unify controller on a docker container?. I read somewhere unify controller and MQTT has clashed if you install it in the same place. Question is it ok to install unify controller in Debian where hass.io is running on docker (I have hass.io Mosquito add on as my QMTT)


Thanks in advance

ianrobertson
Автор

Thanks for this! I'm trying to get Watchtower to work
but I get this error (Portainer runs fine and I use it to look at the
logs)

I'm running docker on synology
Any ideas?

macguy
Автор

Hi, When i try to set email notification section sails worker container gets stopped why so?

TheMannawar
Автор

I did a clean install of OMV with Docker and Portainer on my raspberry pi 4. I don't even have a docker-compose.yaml file. Is that normal and if so, where should I create it?

ThenionKnight
Автор

just stumbled onto this! great stuff. I'm a noob in so many ways, so how did you get the email notification to work. I got a time-out error.

ryanmilton
Автор

Hi, are you still using Zoneminder? Hope so, could you please do a video on how to set up MQTT within Zoneminder notification. I have the integration working fine but I want MQTT notifications from motion triggers to go to the Hassio MQTT server. The instructions I have are WAY over my skill level! Cheers

shaunwhiteley
Автор

I have trouble with my docker compose. After a reboot, everything is created, but not all are running correctly. A couple are stopped, another might be be configured. I usually have either start or recreate a few containers but everything does come back. I assume it a timing problem. Are there some compose command to control the timing or order of startup? Thanks for any info (and your good work).

markjacksonpulver
Автор

I want to exclude my Nextcloud container from watchtower to be updated
How to exclude it?

VedantiUjawane