-
Couldn't load subscription status.
- Fork 17
Description
This is in reference to the issue brought up in the unRAID forum
post
by Agent531C. Changes to net.unraid.docker.icon and net.unraid.docker.webui
are not reflected after running either compose up or compose down. The
reason for this is that unRAID stores all the information in the cache and does
not clear it unless 1 of 2 situations occur:
- When
/usr/local/emhttp/state/plugins/dynamix.docker.manager/docker.jsonand
its related files are deleted. - The whole Docker XML templates are re-evaluated to build all the files
(usually on a reboot).
While it would be great to implement the changes to the unRAID OS, the fact of
the matter is that docker compose is not officially supported yet. It would be
more appropriate for now to have these changes implemented as part of how
compose projects are spun up and down in this plugin. It is possible for
example, delete a project's services from the docker.json file to ensure that
webui labels are properly updated whenever a project is spun up again. For
icons, deleting the relevant image files in both
/usr/local/emhttp/state/plugins/dynamix.docker.manager/images and
/var/lib/docker/unraid/images should be sufficient to force unRAID to retrieve
the correct image.