Recently, I found dcgm-exporter will enconter a runtime error: FATA[0000] Failed to watch metrics: Error watching fields: Host engine is running as non-root. And adding --cap-add=SYS_ADMIN with docker run or SYS_ADMIN in yaml can step over the error. I wonder what specific operation causes the issue?
The error was found in below scenarios with dcgm-exporter 3.6.0 without SYS_ADMIN
Device
Recently, I found dcgm-exporter will enconter a runtime error: FATA[0000] Failed to watch metrics: Error watching fields: Host engine is running as non-root. And adding
--cap-add=SYS_ADMIN
withdocker run
orSYS_ADMIN
in yaml can step over the error. I wonder what specific operation causes the issue?