compose.yaml 336 B

1234567891011121314
  1. ---
  2. services:
  3. nvidia_exporter:
  4. image: nvcr.io/nvidia/k8s/dcgm-exporter:2.3.2-2.6.2-ubuntu20.04
  5. container_name: nvidia_exporter
  6. runtime: nvidia
  7. cap_add:
  8. - SYS_ADMIN
  9. environment:
  10. - NVIDIA_VISIBLE_DEVICES=all
  11. - NVIDIA_DRIVER_CAPABILITIES=all
  12. ports:
  13. - 9400:9400
  14. restart: unless-stopped