How can I restart nvargus-daemon from a docker container?

Is there a way to restart the nvargus-daemon from a docker container?

Can you just restart it from the host instead of docker?

From my developer standpoint I can implement automatically a sort of docker healthcheck via Flask and restart the docker container in case of an error.

But there is no monitoring to restart nvargus-daemon if something goes wrong the systemd approch is weak, do I need a D-BUS sniffer for that to detect anomalies and do a ‘systemctl restart nvargus-daemon’ ?

Please have a reference to this link.

https://stackoverflow.com/questions/24750137/restarting-host-from-docker-container/24759427#24759427