From 947f5fd3480cf6f72f47a1364a4fcfdb20e1592e Mon Sep 17 00:00:00 2001 From: poprhythm Date: Sat, 31 Jan 2026 19:52:58 +0000 Subject: [PATCH] Add GPU monitoring support to glances Enable NVIDIA runtime and GPU visibility for GPU performance metrics. --- glances/docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glances/docker-compose.yaml b/glances/docker-compose.yaml index 166ed9c..37f2404 100644 --- a/glances/docker-compose.yaml +++ b/glances/docker-compose.yaml @@ -6,10 +6,12 @@ services: image: 'nicolargo/glances:latest-full' restart: unless-stopped privileged: true + runtime: nvidia ports: - 61208-61209:61208-61209 environment: - TZ=${TZ} + - NVIDIA_VISIBLE_DEVICES=all - "GLANCES_OPT=-C /glances/conf/glances.conf -w" volumes: - '/var/run/docker.sock:/var/run/docker.sock:ro'