Comments (10)
Uhh... Seems like bad news for me. Thank you for your help anyway.
I think there is no need to fix the kernel version detection problem for OpenVZ servers because it will not help with WG deploying. So closing the issue.
from docker-wireguard.
If we can identify why it's not showing your exact kernel, we'll fix it in the image.
Can you give us the specifics of the machine? You mentioned VPS, where is it hosted? Details? What OS? etc.
Also post the result of uname -a
from docker-wireguard.
Post a full container log taken right after container creation
from docker-wireguard.
from docker-wireguard.
Keeping investigation have found /etc/cont-init.d/30-config
in the container with:
if apt-cache show linux-headers-$(uname -r) 2&>1 >/dev/null; then
apt-get install -y \
linux-headers-$(uname -r) \
wireguard
Is it actually right thing to do? Do we need all these kernels sources?
from docker-wireguard.
Lol, it's supposed to install headers for a single kernel, the one you're using. What's the result of uname -r
?
from docker-wireguard.
4.15.0
from docker-wireguard.
On my laptop apt-cache show linux-headers-$(uname -r)
returns exactly one kernel with uname -r
returning 5.3.0-53-generic
. And in case of VPS with uname -r
returning 4.15.0
apt-cache
returns that huge list of kernels. Can I fix it somehow without risk to stuck again after the next image update? Or should it be fixed by docker image developer?
from docker-wireguard.
uname -a
Linux linux.c7aebb.vps 4.15.0 #1 SMP Mon Nov 25 18:42:58 MSK 2019 x86_64 x86_64 x86_64 GNU/Linu
It is Ubuntu 18.04.4 LTS VPS hosted on Ethernet Servers OpenVZ. What else kind of details can help you?
from docker-wireguard.
Yeah, openvz is the issue. I'm not too familiar with it, but it seems that the containers share the kernel with the host, and that it's not possible to install kernel modules inside the openvz container/VM: https://stackoverflow.com/a/22468756
So even if you figured out your current issue, installed the right headers, it still wouldn't work as it wouldn't be able to install the kernel module for wireguard.
from docker-wireguard.
Related Issues (20)
- [BUG] Custom Server Port not taken into account in server.conf template HOT 3
- [BUG] starting with ~v1.0.20210914-ls116 cannot connect to wireguard HOT 3
- [BUG] Error generating QRCode - qrencode: command not found HOT 2
- [BUG] -ls23 and onwards has issue with adding iptables rules HOT 6
- [BUG] iptables v1.8.10 (legacy): can't initialize iptables table `filter' HOT 4
- [BUG] Conneted to the Wiregurad server, but no network connection on client side. HOT 3
- [BUG] Client IPs are all the container's host HOT 15
- [BUG] missing /32 in interface address HOT 14
- [FEAT] Enable SERVER_ALLOWEDIPS_PEER_ declaration by comma HOT 9
- Old tags are wrong HOT 4
- [BUG] ListenPort = 51820 in default peer.conf disallows >1 peer through NAT loopback HOT 11
- [FEAT] [Peer] definition within generated wg0.conf should be templated HOT 10
- Setting SERVERPORT has no effect HOT 5
- [BUG] Setting SERVER_ALLOWEDIPS_PEER_ does not recreate configs HOT 2
- [BUG] busybox's modprobe fails to load kernel module HOT 1
- [FEAT] IPv6 subnet support HOT 3
- [BUG] Dual-stack IPv6 traffic is not dropped and therefore spoiling the true origin of packets HOT 1
- [FEAT] Enable logging in CoreDNS HOT 3
- [BUG] dosent work in ubuntu server HOT 7
- [FEAT] optional disable coredns HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wireguard.