Hi guys,
I'm struggling to install wireguard server on docker in LE 10, using portainer, on my RPI4B.
I'm receiving the following error:
Code
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
[s6-init] ensuring user provided files have correct perms...exited 0.,
[fix-attrs.d] applying ownership & permissions fixes...,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts...,
[cont-init.d] 01-envfile: executing... ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing... ,
-------------------------------------,
_ (),
| | ___ _ __,
| | / __| | | / \ ,
| | \__ \ | | | () |,
|_| |___/ |_| \__/,
Brought to you by linuxserver.io,
-------------------------------------,
To support the app dev(s) visit:,
WireGuard: https://www.wireguard.com/donations/,
To support LSIO projects visit:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
User uid: 65534,
User gid: 65534,
-------------------------------------,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 30-config: executing... ,
Uname info: Linux b0c1a242c296 5.10.52 #1 SMP Wed Aug 11 14:10:51 CEST 2021 aarch64 aarch64 aarch64 GNU/Linux,
RTNETLINK answers: Operation not permitted,
**** The wireguard module is not active, will attempt kernel header install and module compilation. ****,
**** Attempting kernel header install ****,
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB],
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB],
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB],
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB],
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic/restricted armhf Packages [12.5 kB],
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/universe armhf Packages [11.0 MB],
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse armhf Packages [157 kB],
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf Packages [1,277 kB],
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted armhf Packages [16.5 kB],
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf Packages [1,491 kB],
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse armhf Packages [6,818 B],
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf Packages [1,855 kB],
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main armhf Packages [11.2 kB],
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe armhf Packages [11.0 kB],
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse armhf Packages [2,821 B],
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted armhf Packages [9,670 B],
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/main armhf Packages [1,115 kB],
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe armhf Packages [1,168 kB],
Fetched 18.6 MB in 11s (1,754 kB/s),
Reading package lists...,
**** No kernel headers found in the Ubuntu or Debian repos!! Will try the headers from host (if mapped), may or may not work ****,
**** Kernel headers don't seem to be available, can't compile the module. Sleeping now. . . ****
Display More
I've set the volumes as follow:
Host/volume | Path in container |
---|---|
/storage/.config/wireguard | /config |
/lib/modules | /lib/modules |
Don't know why it doesn't find the kernel headers Is there anything else that I need to set?
Thank you!