docker-wireguard-pia icon indicating copy to clipboard operation
docker-wireguard-pia copied to clipboard

Issue: Cannot find device "wg0"

Open cptechie opened this issue 3 years ago • 1 comments

I am having an issue similar to issue #31.

Below is my output.

Mon Nov 29 20:46:24 UTC 2021: Bringing up WireGuard interface wg0
[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not permitted
Unable to access interface: Operation not permitted
[#] ip link delete dev wg0
Cannot find device "wg0"

I have tried image thrnz/docker-wireguard-pia:testing but it too is giving me this error.

cptechie avatar Nov 29 '21 20:11 cptechie

If you're using Unraid, then turn the Privileged on. Otherwise, just add --cap-add=NET_ADMIN or --privileged flag.

iblh avatar Dec 11 '21 07:12 iblh