-
Notifications
You must be signed in to change notification settings - Fork 114
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
Feature Request: rocketpool service prune
and rocketpool service reset
#323
Comments
FYI: Starting on this... |
@jshufro
So I did figure out a way to preserve all of the latest images used by the Smartnode's compose stack that I like for both reset and prune. You can see the details in the PR and the specific approach I'm talking about in commit f16f09b . Maybe ack this here just so we're all aligned and we can use the PR to highlight any changes you want to see in the code. |
I think we'll want a Mostly, this command will be used to rebuild rocketpool_net, which can only be deleted if all the containers within are removed. Edit: I can see from the examples in the PR that this works perfectly |
I added an --all option in the PR. Also rebased to current master. Careful with |
Every now and then docker-ce screws up its persisted state and needs a light cleaning.
Typically this takes the form of
rocketpool service stop; docker system prune -ay; rocketpool service start
Ideally we'd add this to smartnode, with
rocketpool service reset
doing the above.Additionally, many NOs are not aware of the fact that old images are retained until
docker system prune -ay
is run, so a command calledrocketpool service prune
would be nice, but probably only if it can be done in a way that doesn't deleting the latest images/containersThe text was updated successfully, but these errors were encountered: