Changes to Docker default values lost at every update?


Go to solution Solved by Squid,

Recommended Posts

Basically the title. Anytime I make an edit to one of the default variables in a docker (changing a variable name, or the icon for the docker for example), it gets lost anytime I update the docker. At least that's what I think is happening. Only custom docker templates made by me, that do not have the same name as one of the saved templates do not get their variables overwritten.

 

How can I prevent this from happening?

Link to comment
  • Solution

By design, templates also update with any updates to the container.  This results in any variables etc that are missing from your template being added back in (not changed)

 

What you've done is take an existing template and delete entries (which is fine)

 

Manually edit the file at /config/plugins/dockerMan/templates-user and remove the line saying <TemplateURL>....</TemplateURL> to stop the system from updating the template.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.