I just moved to domoticz container instead of a classic server install.
I run the container with -e PUID=1000 -e PGID=1000 to run it as non root user and I noticed the ping plugin I have before, stopped working.
In domoticz wiki, here https://www.domoticz.com/wiki/System_Alive_Checker_(Ping)
A note for non root at the end of the page says socket capability must be added to the executable.
So I tried do add it:
$ setcap cap_net_raw=+eip /var/lib/domoticz/domoticz
And restarted the container but capability seems to be lost when container restarts.
How can the capability can be added ?