homeassistant-docker-venv icon indicating copy to clipboard operation
homeassistant-docker-venv copied to clipboard

Allow bind to privileged ports

Open ABredhauer opened this issue 3 years ago • 0 comments

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?

ABredhauer avatar Aug 08 '21 02:08 ABredhauer