logoalt Hacker News

latchkeyyesterday at 10:00 PM1 replyview on HN

just curious why you'd bind to a priv port inside of a container.


Replies

zerof1lyesterday at 10:11 PM

This whole privileged port thing is an outdated convention from the time when Linux ran on mainframes. Depending on your use case, it can be perfectly fine to lower it. I have set to `net.ipvX.ip_unprivileged_port_start = 80` on my server so that I can run rootless containers without extra privileges and have them bind to ports 80 and up.

show 2 replies