From d893c05842d72fe05e7ad3f61fc4a1b356edd46d Mon Sep 17 00:00:00 2001 From: Kei YAMAZAKI <1715090+kei-yamazaki@users.noreply.github.com> Date: Sat, 30 Nov 2024 16:51:25 +0900 Subject: [PATCH] Add SYS_ADMIN capability requirement for docker run Add --cap-add SYS_ADMIN flag to docker run command in quickstart section, as it is required for DCGM-Exporter to function properly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e7a0d78..fa13ec5e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Official documentation for DCGM-Exporter can be found on [docs.nvidia.com](https To gather metrics on a GPU node, simply start the `dcgm-exporter` container: ```shell -docker run -d --gpus all --rm -p 9400:9400 nvcr.io/nvidia/k8s/dcgm-exporter:3.3.9-3.6.1-ubuntu22.04 +docker run -d --gpus all --cap-add SYS_ADMIN --rm -p 9400:9400 nvcr.io/nvidia/k8s/dcgm-exporter:3.3.9-3.6.1-ubuntu22.04 curl localhost:9400/metrics # HELP DCGM_FI_DEV_SM_CLOCK SM clock frequency (in MHz). # TYPE DCGM_FI_DEV_SM_CLOCK gauge