Skip to content

Commit

Permalink
Add SYS_ADMIN capability requirement for docker run (#427)
Browse files Browse the repository at this point in the history
Add --cap-add SYS_ADMIN flag to docker run command in quickstart section,
as it is required for DCGM-Exporter to function properly.
  • Loading branch information
kei-yamazaki authored Dec 2, 2024
1 parent d03881d commit 900d465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 900d465

Please sign in to comment.