You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Recently one of the images I use in mu containers had an update which blocked the service because of a bug, but I can't start the container with the previous image because it was deleted by the WATCHTOWER_CLEANUP=true option.
Describe the solution you'd like
I would be useful if there's an option to set the number of images to retain on the system instead of delete all the images not used by some container, something like WATCHTOWER_CLEANUP_RETENTION with a number parameter.
For example:
WATCHTOWER_CLEANUP_RETENTION=N to retain the latest N images
Describe alternatives you've considered
As an alternative I have to disable the unused images deletion and make an external script to sort them out by date and manage the retention with it.
Additional context
No response
The text was updated successfully, but these errors were encountered:
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! 🙏
Is your feature request related to a problem? Please describe.
Recently one of the images I use in mu containers had an update which blocked the service because of a bug, but I can't start the container with the previous image because it was deleted by the
WATCHTOWER_CLEANUP=true
option.Describe the solution you'd like
I would be useful if there's an option to set the number of images to retain on the system instead of delete all the images not used by some container, something like WATCHTOWER_CLEANUP_RETENTION with a number parameter.
For example:
WATCHTOWER_CLEANUP_RETENTION=N to retain the latest N images
Describe alternatives you've considered
As an alternative I have to disable the unused images deletion and make an external script to sort them out by date and manage the retention with it.
Additional context
No response
The text was updated successfully, but these errors were encountered: