docker-library / haproxy

Docker Official Image packaging for HAProxy
http://www.haproxy.org/
GNU General Public License v2.0
347 stars 158 forks source link

If you have a new enough kernel (`4.11`), then adding `--sysctl net.ipv4.ip_unprivileged_port_start=0` to the `docker run` should allow it to use "privileged" ports (https://github.com/moby/moby/issues/8460). #206

Closed Vahid22h closed 1 year ago

Vahid22h commented 1 year ago
          If you have a new enough kernel (`4.11`), then adding `--sysctl net.ipv4.ip_unprivileged_port_start=0` to the `docker run` should allow it to use "privileged" ports (https://github.com/moby/moby/issues/8460).

If you have both a new enough kernel and new enough docker (20.10.x, https://github.com/moby/moby/commit/dae652e2e5e47d99c8febd5bc81df0a3269beb74), then it can just work: https://github.com/moby/moby/pull/41030.

Originally posted by @yosifkit in https://github.com/docker-library/haproxy/issues/160#issuecomment-856987103

yosifkit commented 1 year ago

This issue looks opened in error and seems indistinguishable from spam without a report of what needs changing/fixing.