wg-gen-web icon indicating copy to clipboard operation
wg-gen-web copied to clipboard

installation failed

Open AnmLobby opened this issue 3 years ago • 1 comments

[root@vultr ~]# docker run --rm -it -v /tmp/wireguard:/data -p 8080:8080 -e "WG_CONF_DIR=/data" vx3r/wg-gen-web:latest INFO[0000] Starting Wg Gen Web version: 0bf3c68
FATA[0000] server.json doesnt not exists and can not read it err="open /data/server.json: permission denied"

When I execute the command, the above error appears. I have installed wireguard. What should I do?

AnmLobby avatar Mar 10 '21 09:03 AnmLobby

the container is not able to open / create the server.json config file. Can you make sure the rights on /tmp/wireguard are set correctly ? You can remove the directory and let docker create it.

vx3r avatar Mar 10 '21 10:03 vx3r