Skip to content

Docker GPU not showing up #3393

@MrCrunshy

Description

@MrCrunshy

Hello, I'm completely new to this. I've set up Glances via Docker, but my RTX 3050 isn't showing up.

My Jellyfin instance is running inside the Docker server and can access it without any problems.

Unfortunately, I can't find the cause of the problem.

My system (Ubuntu) is completely up to date.

Here's an excerpt from my Compose file:

version: '3'

services:
  monitoring:
    image: nicolargo/glances:latest-full
    pid: host
    network_mode: host
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      # Uncomment the below line if you want glances to display host OS detail instead of container's
      # - /etc/os-release:/etc/os-release:ro
    environment:
      - "GLANCES_OPT=-w"
    # For nvidia GPUs
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

To Reproduce
Steps to reproduce the behavior:

  1. Start Glances with Docker
  2. Enter the Webgui
  3. See error

Screenshots

Image Image

Environement (please complete the following information)

  • Operating System (lsb_release -a or OS name/version): To be completed with result of: lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble

If you need any further information, please let me know.
Greets
Crunshy

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions