Open NabiKAZ opened 1 year ago
If you get this error:
[ALERT] (21) : Binding [/usr/local/etc/haproxy/haproxy.cfg:59] for frontend haproxy_v4_http: cannot bind socket (Permission denied) for [0.0.0.0:80] [ALERT] (21) : Binding [/usr/local/etc/haproxy/haproxy.cfg:68] for frontend haproxy_v4_https: cannot bind socket (Permission denied) for [0.0.0.0:443] [ALERT] (21) : [haproxy.main()] Some protocols failed to start their listeners! Exiting.
Just add --user root to docker run command. be like this:
--user root
docker run -it -p 80:80 -p 443:443 -p 5222:5222 -p 8080:8080 -p 8443:8443 -p 8222:8222 -p 8199:8199 --user root whatsapp_proxy:1.0
FAQ has an item for this. Could you try the solution there instead of running the container as root?
If you get this error:
Just add
--user root
to docker run command. be like this: