docker-qbittorrent icon indicating copy to clipboard operation
docker-qbittorrent copied to clipboard

Port 80 availability

Open mdimura opened this issue 8 years ago • 4 comments

When I change the Web-GUI port to :80 in the config, the GUI does not work. I guess it is because user 520 does not have the permission... Could be useful to enable it.

mdimura avatar Sep 15 '16 18:09 mdimura

You can ask docker redirect 80 to 8080. Not that adding that permission would be a big security risk, but I don't really see the point.

wernight avatar Sep 15 '16 22:09 wernight

In my case it would be useful, because I run containers on separate DHCP IPs with pipework, so docker port assignment does not apply.

mdimura avatar Sep 16 '16 16:09 mdimura

You're welcome to submit a PR if you find exactly what's blocking. I suspect only root can unless setcap is called. See https://serverfault.com/questions/112795/how-to-run-a-server-on-port-80-as-a-normal-user-on-linux

You can of course run as root if you wish, but I wouldn't make it the default user.

wernight avatar Sep 16 '16 17:09 wernight

I'm making some heavy changes. You may want to wait until end of day if you're planning to change something yourself.

wernight avatar Sep 21 '16 09:09 wernight