How to Update Docker Containers using Watchtower with Portainer

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 56

  • @somedude5353
    @somedude5353 ปีที่แล้ว +7

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

  • @Scottpie47
    @Scottpie47 ปีที่แล้ว +3

    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!

  • @Flipbug_The_Whimsical
    @Flipbug_The_Whimsical ปีที่แล้ว +2

    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!

  • @SwishaMane420
    @SwishaMane420 2 ปีที่แล้ว +1

    Wow, finally got watchtower working. NICE!

  • @Zomwil
    @Zomwil ปีที่แล้ว

    I have been using Watchtower for more than a week now thanks to you. You made it really simple to understand how to use this tool.

  • @nordemoniac
    @nordemoniac 2 ปีที่แล้ว +1

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

  • @fredlunau
    @fredlunau ปีที่แล้ว

    Awesome tutorial - the pace is perfect, and the amount of 'splainin' is spot on. Thanks!!!

  • @madhardcorenick
    @madhardcorenick 2 ปีที่แล้ว

    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.

  • @mikeclites8407
    @mikeclites8407 7 หลายเดือนก่อน

    I just ran across your videos Stryker. Good job on the clear, step by step in the ones I watched so far. Hope you add some new content.

  • @Scab5679
    @Scab5679 7 หลายเดือนก่อน

    Perfect! Exactly what I needed in a well presented way!

  • @mursalint
    @mursalint 5 หลายเดือนก่อน

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

  •  หลายเดือนก่อน

    This was a great video, super clear instructions. Thank you!

  • @krisvdzwaan
    @krisvdzwaan 4 หลายเดือนก่อน

    Thanks for the easy tutorial! Exactly what I needed.

  • @tonykrajcik6701
    @tonykrajcik6701 4 ปีที่แล้ว +7

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

  • @richardjohnson4729
    @richardjohnson4729 3 ปีที่แล้ว +4

    Concise and Clear, thanks!

  • @gwork14
    @gwork14 3 ปีที่แล้ว +2

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

  • @strtfghter02
    @strtfghter02 3 ปีที่แล้ว +2

    Awesome tutorial, thanks so much for reading my mind!

  • @DanJackielz
    @DanJackielz 2 ปีที่แล้ว +1

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

  • @fzovko
    @fzovko 2 ปีที่แล้ว +2

    Well done brother. Very useful!

  • @snoman6322
    @snoman6322 3 ปีที่แล้ว +3

    Exactly what I needed. Thank you!

  • @piperjohn_3
    @piperjohn_3 3 ปีที่แล้ว +2

    Very well done, thanks!

  • @gaz1978
    @gaz1978 ปีที่แล้ว

    Great video. Exactly what I was after and explained simply thanks.

  • @TheHandyPair
    @TheHandyPair 19 วันที่ผ่านมา

    Well explained! Thanks.

  • @Arokhantos
    @Arokhantos 3 ปีที่แล้ว +1

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

  • @fredzibulski3111
    @fredzibulski3111 3 ปีที่แล้ว +1

    well explained much better than others on TH-cam. 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 ?

  • @redevladar
    @redevladar 3 ปีที่แล้ว +1

    Great video!

  • @AndreasFanemo
    @AndreasFanemo 3 ปีที่แล้ว +1

    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

  • @abdullahisa7547
    @abdullahisa7547 2 หลายเดือนก่อน

    Worked great but messed up some containers especially my gitlab, countless projects vanished, trying to see how to get them back.
    Update got it all back, i suggest always backing up.
    Overall works great and great for private registry too.

  • @Green__one
    @Green__one 3 ปีที่แล้ว +2

    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.

    • @rogerelsig943
      @rogerelsig943 2 ปีที่แล้ว +1

      same problem here, have you solved this problem?

    • @Green__one
      @Green__one 2 ปีที่แล้ว +1

      @@rogerelsig943 I did solve the problem, I did find a solution on Google. Unfortunately I cannot remember the details.
      If I recall correctly, the issue is that the new version is actually a different name, and therefore a bunch of manual intervention is required to do the upgrade. It's effectively a new branch of portainer and therefore not directly updateable by Watchtower.

  • @pinsondetailing
    @pinsondetailing 3 ปีที่แล้ว +1

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

  • @ilco31
    @ilco31 3 ปีที่แล้ว

    thankyo -now i finaly know how te auto remove old(unused images) with watchtower

  • @gregorhoffmann
    @gregorhoffmann 3 ปีที่แล้ว

    Wo sollte ich denn das "--label=com.centurylinklabs.watchtower.enable=false" eingeben, wenn ich meinen container unter portainer rebuilde? Vielen Dank und sehr coole Videos! :)

  • @borkkorb
    @borkkorb 3 ปีที่แล้ว +1

    THANK YOU!

  • @OzDeaDMeaT
    @OzDeaDMeaT 3 ปีที่แล้ว +1

    Does it update stacks as well?

  • @entsfps
    @entsfps 10 หลายเดือนก่อน

    thanks bro

  • @Fabioslove
    @Fabioslove 2 ปีที่แล้ว +1

    Thank you! o/

  • @duplicake4054
    @duplicake4054 7 หลายเดือนก่อน

    Still working!

  • @magoespa
    @magoespa 4 ปีที่แล้ว +1

    thanks!

    • @StrykerBytes
      @StrykerBytes  4 ปีที่แล้ว

      Welcome!

    • @magoespa
      @magoespa 4 ปีที่แล้ว +1

      @@StrykerBytes do you know what argument should I use in order to see in the logs that no images have been found for a certain container?
      somethin like:
      time="2020-05-27T23:59:47+02:00" level=debug msg="No new images found for /diun"
      time="2020-05-27T23:59:47+02:00" level=debug msg="Skipping image pull."
      time="2020-05-27T23:59:47+02:00" level=debug msg="No new images found for /nextcloud"
      time="2020-05-27T23:59:47+02:00" level=debug msg="Skipping image pull."
      time="2020-05-27T23:59:47+02:00" level=debug msg="No new images found for /letsencrypt"
      I have enabled debug mode as argument but I just can see the following info:
      time="2021-02-02T16:11:45Z" level=debug
      time="2021-02-02T16:11:45Z" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."
      time="2021-02-02T16:11:46Z" level=debug msg="Retrieving running, stopped and exited containers"
      time="2021-02-02T16:11:46Z" level=debug msg="There are no additional watchtower containers"
      time="2021-02-02T16:11:46Z" level=debug msg="Watchtower HTTP API skipped."
      time="2021-02-02T16:11:46Z" level=info msg="Starting Watchtower and scheduling first run: 2021-02-03 16:11:46 +0000 UTC m=+86400.625181048"
      thanks in advance for your help

    • @StrykerBytes
      @StrykerBytes  4 ปีที่แล้ว

      Try enabling the trace environment variable. It’s “WATCHTOWER_TRACE” and set it to true.

  • @the-papaw
    @the-papaw 2 ปีที่แล้ว

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

  • @battlepie_tv9128
    @battlepie_tv9128 2 ปีที่แล้ว

    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!

  • @impact0r
    @impact0r 3 ปีที่แล้ว +2

    There is a timeout bug in Portainer which causes:
    "Failure
    No such image: containrrr/watchtower:latest"
    That's why command line must be used.

  • @lakerolmaker6999
    @lakerolmaker6999 3 ปีที่แล้ว +4

    I only hear you in my left earphone , it is very annoying and hard to concentrate

    • @PitFighter2007
      @PitFighter2007 2 ปีที่แล้ว +6

      Write out a transcript of the entire clip. print it. now get your mum to read it to you on your right side whilst watching the clip. voila you now have sound in both ears.

  • @micu01
    @micu01 3 ปีที่แล้ว +2

    Exactly what I needed! Thanks a bunch.

  • @inso626
    @inso626 2 ปีที่แล้ว

    Thank you!