How to Update Docker Containers using Watchtower with Portainer

preview_player
Показать описание
This video gives a brief overview of how to quickly update docker container images using Watchtower with Portainer. This video will show you how to do a "run once" update which will allow Watchtower to run, update all of your containers, and then stop. It will also show you how to leave Watchtower running to constantly update your containers as updates become available.

Рекомендации по теме
Комментарии
Автор

Wow, a great guide. Goes through it slowly, explains each thing, can mimic / follow along with it. Perfect. Well done!

somedude
Автор

This just bricked my portainer instance. Started the update in the logs and never came back

pinsondetailing
Автор

Thank you, it is a tutorial that I have been looking for!

tonykrajcik
Автор

All looks so easy on the video. But it just doesn't actually do it for me in real life.
I've set up Watchtower exactly as shown in this video for "run once", and my portainer shows the same "a new version is available" message in the lower corner as is visible in this video.
Unfortunately running watchtower does absolutely nothing. Log shows "Checking all containers (except explicitly disabled with label)" then "Running a one time update" then " Session done failed=0 Scanned=3 Updated=0 notify=no"
I only have 3 containers currently, so if it scanned 3, it got all of them, but it updated none, and I have no idea why not.

Green__one
Автор

Really grateful for this clear and concise guide. I've had a go at configuring a weekly update for my media centre containers (radarr, jellyfin etc). Just had to find the schedule variable and figure out the cron time. Worked like a charm!

Flipbug_The_Whimsical
Автор

THANK YOU FOR THIS! I am basically useless when it comes to Docker, Portainer and CLI stuff in general but explanations like these make me think that little by little I may actually be able to pick it up eventually. Cheers!

Scottpie
Автор

Thank you @StrykerBytes! It worked great when I did it as the first description, but when I wanted to start a continues service, (the second half of the video) it doesn't work. First it trying to deploy for ten minutes, then a message says: "Failure. Starting container with non-empty request body was deprecated since API v.1.22 and removed in v1.24".
I then have 97 extra images among my images... I can't use "containrr/watchtower:latest" either - so I don't know what to do?
How can I solve this? I'm running Portainer.io 2.6.2 inside Home Assistant. Best regards,
/Fanan

AndreasFanemo
Автор

Thanks for the easy tutorial! Exactly what I needed.

krisvdzwaan
Автор

Cool thanks i was wondering how i could make it check for updates more then once a day

Arokhantos
Автор

Wow, finally got watchtower working. NICE!

SwishaMane
Автор

Thanks, very helpful. Got Portainer and Watchtower running on my QNAP Container Station now. Made it an actual useable system after this.

nordemoniac
Автор

Exactly what I needed! Thanks a bunch.

micu
Автор

Thank you for the video. Helped a lot to deploy the container in Portainer on a Synology NAS.

mursalint
Автор

well explained much better than others on Youtube. Wanted to know how i would go by excluding a container like Nginx which i installed outside of Portainer with a yaml file ? will it try to update that as well if so how do I prevent it ?

fredzibulski
Автор

I understand the video is a couple years old, but not updating my portainer container

the-papaw
Автор

wanted to watch the video, but i really cant watch it longer than 10 seconds.
It seems like there is only the right side audio .... even mono would be better than having only one sided audio on headphones!

battlepie_tv
Автор

Very handy indeed, thank you kindly sir. Great guidance and you made it simple to understand!

gwork
Автор

Would be great if this kind of feature would be default in docker but this is also really cool.
Thanks for the easy tutorial!

DanJackielz
Автор

Awesome tutorial, thanks so much for reading my mind!

strtfghter
Автор

Thank you very much. I've been trying to look for a solution to update my plex container on OMV automatically and your video was direct and easy to follow. While I'm still trying to learn the docker/portainer environment, your video has taught me a few things already.

madhardcorenick
join shbcf.ru