Skip to content

Commit e501d95

Browse files
committed
docs: extend the pcp container readme to show nvidia GPU enablement
1 parent c977cae commit e501d95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/containers/pcp/root/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ $ podman run -d \
1818

1919
**Note:** On SELinux enabled systems, the following boolean needs to be set: `sudo setsebool -P container_manage_cgroup true`
2020

21-
### Enabling host processes, eBPF, network and container metrics
21+
### Enabling host processes, eBPF, NVIDIA GPU, network and container metrics
2222

2323
```
2424
$ sudo podman run -d \
2525
--name pcp \
2626
--privileged \
2727
--net host \
28+
--device nvidia.com/gpu=all \
2829
--systemd always \
2930
-e HOST_MOUNT=/host \
30-
-e PCP_DOMAIN_AGENTS=bpf,bpftrace \
31+
-e PCP_DOMAIN_AGENTS=bpf,bpftrace,nvidia \
3132
-v pmlogger:/var/log/pcp/pmlogger \
3233
-v pmproxy:/var/log/pcp/pmproxy \
3334
-v /:/host:ro,rslave \

0 commit comments

Comments
 (0)