Glances
★ 34.0kAbout
Community Ratings
No ratings yetNew this week
Read recap →Features
- Real-time CPU, memory, and system-load monitoring
- Disk, filesystem, network, and sensor monitoring
- GPU, NPU, and process monitoring
- Docker, Podman, LXD, and virtual-machine monitoring
- Terminal dashboard
- Web UI with charts and alerts
- Remote client/server monitoring
- REST API
- Export to files and external time-series databases
- MCP server for AI assistant integrations
Details
- Last Updated
- Nov 27, 2026
- Created
- Dec 4, 2011
- Install Methods
- package-managerdocker
- Default Port
- 61208Web UI and REST API
- Authentication
- local
- API
- REST
- Backup & Export
- file-export
- Privacy & Independence
- No Cloud RequiredOffline Capable
- Deployment
Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container
Run Glances yourself
Pick how much you want to manage.
HostingerSponsored
One click
Hostinger template, runs in your own Hostinger account.
About 5 minutes to running
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
3 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.
Is this your project? Sponsor a listing
Run Glances with Docker Compose
Compose file from the Glances project repository.
1 service
no resource limits declared
needs persistent storage (4 volumes)
docker-compose/docker-compose.yml · @ 85dbcd3 · scanned Nov 26, 2026
services:
glances:
# See all images tags here: https://hub.docker.com/r/nicolargo/glances/tags
image: nicolargo/glances:latest-full
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:61208/healthz"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
pid: "host"
# Host networking exposes the REST API / WebUI on every interface of the
# host, unauthenticated by default: on a shared network set [outputs]
# password and webui_allowed_hosts in ./glances.conf, or replace
# network_mode by `ports: ["61208:61208"]` (the network plugin then sees
# the container's interfaces only).
network_mode: "host"
read_only: true
privileged: false
# Uncomment next line for SATA or NVME smartctl monitoring
# cap_add:
# Uncomment next line for SATA smartctl monitoring
# - SYS_RAWIO
# Uncomment next line for NVME smartctl monitoring
# - SYS_ADMIN
# devices:
# - "/dev/nvme0"
volumes:
- "/:/rootfs:ro"
# `:ro` protects the socket file, not the Docker API behind it: whoever
# controls this container controls the Docker daemon.
- "/var/run/docker.sock:/var/run/docker.sock:ro"
# Uncomment for qemu/libvirt/kvm support with modular libvirt daemons
# - "/var/run/libvirt/virtqemud-sock:/var/run/libvirt/libvirt-sock:ro"
# OR monolithic libvirt daemon
# - "/var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock:ro"
- "/run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro"
- "./glances.conf:/glances/conf/glances.conf"
# Uncomment for proper distro information in upper panel.
# # Works only for distros that do have this file (most of distros do).
# - "/etc/os-release:/etc/os-release:ro"
tmpfs:
- /tmp
environment:
- GLANCES_OPT=-C /glances/conf/glances.conf -w --enable-mcp --enable-plugin smart
# Please set to your local timezone (or use local ${TZ} environment variable if set on your host)
- TZ=Europe/Paris
- PYTHONPYCACHEPREFIX=/tmp/py_caches
# # Uncomment for GPU compatibility (Nvidia) inside the container
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# To protect the REST API and the WebUI by a password, set [outputs] password
# in ./glances.conf to the hash printed by `glances --set-password`.
This file may be out of date. Check the Glances documentation for current setup steps.
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.
