• [6.6.5] dockers failing to bind to old IP address after change


    mildfx
    • Minor

    Description:

    After changing network routers the IP address of my Unraid server changed (from 192.168.178.3 to 192.168.1.3).

    Afterwards I kept getting this error whenever trying to start either docker (mariadb, nextcloud):

    rc.docker: mariadb: Error response from daemon: driver failed programming external connectivity on endpoint mariadb (6944c8378ca4adc184f9dc65b050ad6d22253c8925c2f8f0096b848c8bb949e6): Error starting userland proxy: listen tcp 192.168.178.3:3306: bind: cannot assign requested address

    This error shows, the docker still trying to bind the old IP address.

     

    This error started out on Unraid 6.1.6. In trying to solve this I updated to 6.6.5, where the error persisted even after many reboots. My short-term fix for now was to change the address space to match the old one. While this works I do not think this is expected behaviour.

     

    How to reproduce:

    Change IP address space as in first line and dockers will fail to bind. (Tested to work)

     

    Plugins:

    Speedtest - I did not reboot in Safe Mode, if it really does make a difference in this case I will.

    nas-diagnostics-20181122-1607.zip




    User Feedback

    Recommended Comments

    For your MariaDB Docker Container, please send a screenshot of the Edit Container page.  Curious as to the networking setup specific to that container.

    Link to comment

    In addition to the request of @jonp, can you post a screenshot of your Docker settings.

     

    When a custom network is configured with user assigned subnets, these will not change when the network changes to a different subnet.

    Edited by bonienl
    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.