|
Hello everyone, I'm wondering if it's possible to create a whitelist or blacklist for Watchtower to ignore or update only certain dockers that are listed in these lists. Specifically, I'm interested in finding out how to get Watchtower to update all dockers except those that start with the string "nextcloud" (this is for Nextcloud AIO, which cannot be updated in the standard way). Has anyone tried creating a whitelist or blacklist for Watchtower before? If so, could you share your experience and any tips you might have? Thank you in advance for your help! |
Replies: 3 comments 1 reply
|
You can provide a regex as the first argument to watchtower to only update containers matching that expression. |
Thank you for your response. |
|
1+ years late, but still. 👋 search engine people. You can achieve this by restricting watchtowerr to only update labeled containers and then add the labels to containers you want to update
You can verify if the labels are detected by running and seeing how the number of scanned containers changes. |
1+ years late, but still. 👋 search engine people.
You can achieve this by restricting watchtowerr to only update labeled containers and then add the labels to containers you want to update
com.centurylinklabs.watchtower.enable: "true"to any container you want watchtower to monitor.watchtower/docker-compose.ymlmycontainer/docker-compose.ymlY…