Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save christopherpaquin/151e05260cdc6940cffcb000bfc0ef91 to your computer and use it in GitHub Desktop.

Select an option

Save christopherpaquin/151e05260cdc6940cffcb000bfc0ef91 to your computer and use it in GitHub Desktop.
[Unit]
Description=NVIDIA DCGM Exporter
After=network-online.target nvidia-dcgm.service
Wants=network-online.target
[Container]
Image=docker.io/nvidia/dcgm-exporter:latest
Network=host
SecurityLabelDisable=true
AddCapability=SYS_ADMIN
PodmanArgs=--device nvidia.com/gpu=all
PodmanArgs=--pid=host
[Service]
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment