wg-manager icon indicating copy to clipboard operation
wg-manager copied to clipboard

Portainer and wg-manager -----newbie

Open razio80 opened this issue 3 years ago • 4 comments

Hello,

I'm new to this all. Just wanted to have a dashboard for wireguard. So I found this tool. I installed Docker and Portainer on a Raspberry and used the template to create the wg-manager container. I used this:

version: "2.1" services: wireguard: container_name: wg-manager image: perara/wg-manager restart: always sysctls: net.ipv6.conf.all.disable_ipv6: 0 # Required for IPV6 cap_add: - NET_ADMIN #network_mode: host # Alternatively ports: - 51800-51900:51800-51900/udp - 8888:8888 volumes: - ./wg-manager:/config environment: HOST: 0.0.0.0 PORT: 8888 ADMIN_USERNAME: admin ADMIN_PASSWORD: admin WEB_CONCURRENCY: 1

in Stacks in Portainer and deployed ist. The Container seems to be startet, but I cannot get on the Website with the IP of the Raspi and Port 8888. Can anybody help a newbie to get wg-manager run in Portainer?

Greets

razio80 avatar Oct 20 '21 17:10 razio80

what version of RPi? have you checked the logs? I get standard_init_linux.go:207: exec user process caused "exec format error" on RPi3

morvy avatar Nov 15 '21 01:11 morvy

Hi. This is because you are using an x86 image. Try using the arm equivalent :)

perara avatar Nov 15 '21 05:11 perara

I'm using this image, but I guess RPi3 is not supported as it's ARMv7 only.. perara/wg-manager:dev@sha256:b845a76d221c6630101db6555721458387394b6b425cd91525d573d11b79bd5c

morvy avatar Nov 15 '21 08:11 morvy

This is indeed a bug then. Will address this when i have the time. In the mean time you should be able to build it manually

perara avatar Nov 15 '21 14:11 perara