Jump to content
  • [6.9.2] Docker ports re-added on container update


    rtm516
    • Solved Annoyance

    Sometimes when a docker container is updated any previously removed port mappings that where on there by default are re-added by unraid.

    For example if you run a container behind an nginx reverse proxy and dont want it to get a port mapped you remove it when installing. Later on when there is an update the port sometimes is re-added when you trigger the update.

     

    Reproduction:
    1. Install a container/app from community apps

    2. Remove the port mapping before starting

    3. Wait for an update to the container

    4. Click update and watch the port automatically get re added to the config and mapped.

     

    nas-diagnostics-20210429-1712.zip




    User Feedback

    Recommended Comments

    By design.

     

    It's to handle the circumstance where a template gets another port added to it.  Most of the authors where the behaviour happens commonly with the users have already modified their templates so that it does not do this.  

     

    You need to modify the applicable xml within /config/plugins/dockerMan/templates-user and change the line that states

     

    <TemplateURL>someURLhere</TemplateURL>

    to instead be

    <TemplateURL>false</TemplateURL>

     

    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
    Add a comment...

    ×   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.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...