Skip to content

Allow bind to privileged ports #28

@ABredhauer

Description

@ABredhauer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions