Git Product home page Git Product logo

Comments (7)

github-actions avatar github-actions commented on August 17, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

from docker-wireguard.

aptalca avatar aptalca commented on August 17, 2024

It already works with built in kernel modules, but the module needs to be loaded and active. You may need to enable it on host first with modprobe

from docker-wireguard.

Maxattax97 avatar Maxattax97 commented on August 17, 2024

sudo modprobe wireguard did the trick, thanks so much @aptalca ! I'm going to make a PR to add this note to the README, I think it easily makes this images works on non-Debian systems.

from docker-wireguard.

Maxattax97 avatar Maxattax97 commented on August 17, 2024

Actually just saw the note about not making a PR for README updates. Here's what I was going to add:

If you're running a host with a more recent kernel, such as Fedora, the wireguard module may be built in. If this is the case, then you only need to make sure it's loaded. To load it, use `modprobe wireguard` on the host. The container should then detect that it's loaded and continue without issue.

from docker-wireguard.

drizuid avatar drizuid commented on August 17, 2024

it's already covered in the readme..

During container start, it will first check if the wireguard module is already installed and loaded. If not, ...

from docker-wireguard.

Maxattax97 avatar Maxattax97 commented on August 17, 2024

@drizuid I agree that it's already in there, I think that a quick note mentioning modprobe wireguard would be useful for people since on several kernels I've tested now it's not loaded by default, and this is a fairly uncommon command.

from docker-wireguard.

drizuid avatar drizuid commented on August 17, 2024

Maybe aptalca will agree and make a change, but I disagree. It has been common to load modules since the 90s when you need them. If you compile wireguard into the kernel itself rather than as a module, it will work without effort at all.

from docker-wireguard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.