Add GPU monitoring support to glances
Enable NVIDIA runtime and GPU visibility for GPU performance metrics.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user