prometheus-smartctl
prometheus-smartctl copied to clipboard
Would it be possible to change this Dockerfile so an unprivileged user is used?
https://github.com/matusnovak/prometheus-smartctl/blob/3fbd7bbb06b466bfeb7c1eb99aec45a5951f1458/Dockerfile#L12
Well... I think smartctl can not be used as non root user - right?
I think "privileged" is required, but we can launch the Python code with non-root user. You can look for inspiration here => https://github.com/prometheus-community/smartctl_exporter PRs are welcome.