GPU not showing

50 views
Skip to first unread message

Nils

unread,
Aug 19, 2024, 5:07:15 PM8/19/24
to Glances Users
I am running Glances as a Docker container in web server mode and no other options.
It is not showing my GPU on the web view anywhere. I tried the hotkey '6' to show GPU data, but that changes nothing. I have already verified that my GPU is available in containers, so that is not the problem.


This is my compose:

services:
  glances:
    image: nicolargo/glances:latest-full
    container_name: glances
    restart: unless-stopped
    pid: host
    privileged: true
    network_mode: "host"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /etc/os-release:/etc/os-release:ro
    environment:
      TZ: ${TIMEZONE}
      GLANCES_OPT: "-w"
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]


Aside from this issue, I am also confused on how the sensors work. There is one called 'Tctl', which shows a temperature. The image i used was 'latest-full', which I thought meant it would install everything (e.g. hdd temps, gpu?, etc.) How does this work? What do I need to change to include those?
Reply all
Reply to author
Forward
0 new messages