Ensuring changes to icon/webui labels are respected #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR proposes 2 changes. The goal of these 2 changes are to resolve issue #9.
The first is to ensure that projects that are spun down are removed from
unRAID's cache by removing relevant entries in
/usr/local/emhttp/plugins/dynamix.docker.manager/docker.json
. This ensuresthat changes to the webui label are respected. This change is not a big change.
The second is to ensure that all cached icon files are removed when a project is
spun down. The files are cached in 2 locations:
/var/lib/docker/unraid/images
and
/usr/local/emhttp/plugins/dynamix.docker.manager/images
. This is a hackyattempt to ensure that changes to the icon label are respected. The reason I say
so is because this means icon files has to be downloaded every time the project
is spun up -- possibly many I/O operations.
Resolves #9