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 old images of core and engine after upgrading to latest version #1131
Comments
Thank you @hemz10! I wanted to ask: what kind of friction or pain points does this current behavior have on your workflow other than it occupying unnecessary disk space? This feature request makes a lot of sense to me,, but wanted to make sure I wasn't missing any context. |
Apart from that I don't see anything else that affects my workflow. I thought we could eliminate the manual work of removing old images :) |
Hey @hemz10 , nice idea! What do you think if |
Hey @mieubrisse looks like a good idea as kurtosis clean command is something we will be using very often. But will it work with dive clean command as well ? |
if |
Implementation notes for the Kurtosian who takes this:
|
## Description: <!-- Describe this change, how it works, and the motivation behind it. --> `kurtosis clean -a` now removes all kurtosis images that are both: 1. Unused by any container 2. Not a dev version ## Is this change user facing? YES <!-- If yes, please add the "user facing" label to the PR --> <!-- If yes, don't forget to include docs changes where relevant --> ## References (if applicable): <!-- Add relevant Github Issues, Discord threads, or other helpful information. --> Closes #1131
🤖 I have created a release *beep* *boop* --- ## [0.83.0](0.82.24...0.83.0) (2023-09-18) ### ⚠ BREAKING CHANGES * rename assert to verify ([#1295](#1295)) * print a downloaded container images summary after pulling images from remote or locally ([#1315](#1315)) ### Features * Clean CLI command now removes unsued Kurtosis images ([#1314](#1314)) ([a924f4a](a924f4a)), closes [#1131](#1131) * print a downloaded container images summary after pulling images from remote or locally ([#1315](#1315)) ([b822870](b822870)), closes [#1292](#1292) ### Code Refactoring * rename assert to verify ([#1295](#1295)) ([651df40](651df40)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
Background & motivation
Every time we update kurtosis to latest version the images of older version of engine and core remains. So there are multiple images of core and engine.
Is it possible to automatically remove older version after upgrading to latest version so that it doesn't occupy our disk space ?
Desired behaviour
To remove old images of core and engine after upgrading to latest version.
How important is this to you?
Nice to have; this feature would make using Kurtosis more enjoyable.
The text was updated successfully, but these errors were encountered: