Hello there! I've used the image for quite some time and it worked like a charm. But after Docker Desktop (Mac OS) update to 3.3.0 (62916) the logs are like this:
2021-04-11 21:34:34,395 DEBG 'start-script' stdout output:
--------------------
2021-04-11 21:34:34,399 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...
2021-04-11 21:34:34,411 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible
2021-04-11 21:34:34,418 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard
2021-04-11 21:34:34,420 DEBG 'start-script' stderr output:
Error: Unknown device type.
2021-04-11 21:34:34,423 DEBG 'start-script' stderr output:
Unable to access interface: Protocol not supported
2021-04-11 21:34:34,423 DEBG 'start-script' stderr output:
[#] ip link delete dev wg0
2021-04-11 21:34:34,427 DEBG 'start-script' stderr output:
Cannot find device "wg0"
2021-04-11 21:34:34,428 DEBG 'start-script' stdout output:
[warn] WireGuard interface failed to come 'up', exit code is '1'
The "config/wireguard/wg0.conf" is like that:
[Interface]
PostUp = '/root/wireguardup.sh'
PostDown = '/root/wireguarddown.sh'
Address = ???.???.???.???/24
DNS = ???.???.???.???, ???.???.???.???
PrivateKey = ???
[Peer]
PublicKey = ???
PresharedKey = ???
AllowedIPs = 0.0.0.0/0
Endpoint = ???.???.???.???:???
PersistentKeepalive = 25
(of course there are real values instead of ???)
Any ideas on how to fix that or what to look for in the logs?