4 ms·
Can wireguard be run in docker?
by the_common_man 7y ago
Can wireguard be run in docker?
- moondev 7y agoCheck out https://github.com/subspacecloud/subspace https://github.com/subspacecloud/subspace
- MertsA 7y agoThe wireguard kernel implementation can't but AFAIK you should be able to run a userspace implementation like the rust version just fine.
- FredFS456 7y agoThe Rust implementation is very incomplete, I believe you'll have better luck with the Go userspace implementation.
- tombh 7y agoYes, though you need to pass Docker's `--privileged` and `--cap-add=all` args to enable the loading of the kernel module.
- nikisweeting 7y agoI added a section with some more resources on containerization: https://github.com/pirate/wireguard-docs#containerization https://github.com/pirate/wireguard-docs#containerization