-
Notifications
You must be signed in to change notification settings - Fork 72
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
upgrade.sh's image removal causes conflicts with existing third party containers sharing same dependency #237
Comments
Hi @GrimmiMeloni ! Thanks for opening this. You are right! It would be good to make this change. Are you interested in submitting a PR to fix it? I'll tag this as a bug. |
Hey Jason, happy to help. I would suggest the following solution:
|
Agree! Plus, the current upgrade is way too slow, mostly due to this image churn.
Agree! This is brilliant. This makes the version of Powerwall-Dashboard consistent. We should rev the project version (in files Thank you for your help @GrimmiMeloni ! 🙏 This will be a great enhancement. |
created PR #240 for this |
fix issue #237 remove docker image pruning in upgrade script
Thanks @GrimmiMeloni ! Merged and released as v2.9.0. Please report any issues. |
I am just going through my first upgrade of the Dashboard.
I am running into problems as the removal of the images (
docker rmi
step) fails.I am using some of the images also in different projects (in my case it is telegraf). So it is not simply possible to perform the docker image removal like the upgrade script tries to because of these dependencies.
I have worked around this, by removing (and recreating) my other projects, but this feels very invasive. In a nutshell the
upgrade.sh
in its current form assumes exclusivity, which it should not.I would recommend a different approach for the upgrade, like for example using an explicit
docker pull telegraf:latest
instead.The text was updated successfully, but these errors were encountered: