• [6.11.5] docker becomes unusable after recreating wireguard interface


    Skitals
    • Minor

    How to reproduce:

     

    Have docker container using a wireguard network interface, in my case wg1.

    Stop all docker containers using wg1.

    Delete wg1 from VPN settings.

    Create/import new wg1.

    Attempt to restart docker container.

     

    It gives an error that the container doesn't exist.

     

    You can fix this broken state by editing the container template (any superficial change such as name) and hitting save.

     

    My VPN provider requires generating a new wireguard config every few weeks. IMO, recreating wg1 should not break containers. How to fix them is not obvious, and I had gone through the pain of deleting and recreating all my containers from scratch before figuring it out. I would hate to see others get frustrated by this.

     

     




    User Feedback

    Recommended Comments

    This bug continues to be the bane of my existence in 6.11.5 as I need to re-import a new wg conf every few weeks. You can get around having to recreate all your docker containers if you DISABLE docker before recreating your wg interface, but I have forgotten a few times and needed to recreate 20+ containers.

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