containrrr / watchtower

A process for automating Docker container base image updates.
https://containrrr.dev/watchtower/
Apache License 2.0
19.5k stars 861 forks source link

Non-label method for excluding containers #1566

Closed rdamazio closed 1 year ago

rdamazio commented 1 year ago

Is your feature request related to a problem? Please describe.

On Synology (and I assume other environments - UniFi comes to mind), there are often "private" containers that we don't control the creation of. As a consequence, watchtower tries to update those but fails.

Since there's no way to update labels for those containers after they were created, and we don't create them, there's no good way to exclude them, short of

Describe the solution you'd like

I'd be happy with a --exclude or similar flag (possibly taking a regex?) to tell watchtower what to exclude - that's easy to update.

Describe alternatives you've considered

Additional context

Related to https://github.com/containrrr/watchtower/issues/923 .

github-actions[bot] commented 1 year ago

Hi there! ๐Ÿ‘‹๐Ÿผ As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! ๐Ÿ™