I am testing out the platform and created a more releases than I like. But I cannot find a way to delete old ones. Would appreciate a solution.
Thanks
I am testing out the platform and created a more releases than I like. But I cannot find a way to delete old ones. Would appreciate a solution.
Thanks
Hi @Xuehong,
Thanks for reaching out! The CLI options for releases don’t include a way to delete old ones (see: fly releases · Fly Docs). If you wish to rollback to a previous release then you can first find the desired image associated with your release using the command fly releases --image
and then fly deploy -i <image-name>
Let me know if you have any questions!
If I roll back to the very first release will that remove all the newer releases? then I can redeploy the latest version?
Thanks
So the only way is for me to delete the current app and relaunch it if Ii don’t want to keep old releases?
My guess is that it wasn’t anticipated that anyone would want to do this… In particular, you aren’t being charged for the old releases.
Just think of them as being like unallocated sectors on a hard drive, from files that were deleted, …
Aside: The third-party utility skopeo delete
may be able to remove things from registry.fly.io
, although its docs caution that “many registries don’t support this operation”. I’d try it out on a throw-away app first.
I guess as long as I am not charged for the old ones. I can leave them. Thanks
As a final small tip that comes to mind, you can get advance warning of upcoming charges in general on the dashboard, under Billing > Preview Invoice
.
(Any extraneous Machines and volumes you definitely do want to remove promptly…)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.