Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bind to privileged ports #28

Open
ABredhauer opened this issue Aug 8, 2021 · 0 comments
Open

Allow bind to privileged ports #28

ABredhauer opened this issue Aug 8, 2021 · 0 comments

Comments

@ABredhauer
Copy link

Im adding the Ps4 integration to HA and this requires HA to bind to port 987 which is not allowed when not running as root. In order to get around this I had to ssh to the container and run
setcap 'cap_net_bind_service=+ep' /usr/local/bin/python3.9

This won't survive container upgrades so is it possible to add this into the run script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant