Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove/Delete old image after successful update #1964

Closed
dibu28 opened this issue Apr 20, 2024 · 1 comment
Closed

Remove/Delete old image after successful update #1964

dibu28 opened this issue Apr 20, 2024 · 1 comment

Comments

@dibu28
Copy link

dibu28 commented Apr 20, 2024

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

Remove/Delete old Docker image after successful container update to clean up disk space used by old images.

At some point I had a problem of no disk space left on Docker server because all space was used by old images left after Watchtower updates.

Describe the solution you'd like

Add setting config to remove old image on successful update or at least remove last number of image versions l.

Describe alternatives you've considered

Or create separate helper container for Watchtower to perform cleanup. Cleantower)

Additional context

No response

Copy link

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! 🙏

@dibu28 dibu28 closed this as completed Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant