ha-docker-card
Lovelace cards for Home Assistant to monitor and control Docker hosts: CPU, memory, containers, stacks and pending updates at a glance.
Supported integrations:
- Dockhand — environments managed by Dockhand, with stacks, Git sync and image updates;
- Monitor Docker — Docker hosts and their containers;
- Portainer — Portainer endpoints, their stacks and containers, with image updates.
Entities are discovered automatically, you don't have to pick them one by one, and it works whatever your Home Assistant language.
| Docker Card | Docker Mini Card |
|---|
| |
Features
- Two cards: a full Docker Card and a compact Docker Mini Card
- Automatic discovery of the Dockhand environments, Monitor Docker instances and Portainer endpoints (several of each supported)
- CPU, memory and running containers gauges, Docker version and connection type
- CPU and RAM over the last 24 hours (recorder statistics), drawn behind the CPU and RAM gauges and, on the mini card, behind the CPU and RAM rows, on a real time axis: missing data shows as a gap; their lowest and highest values in the tooltip
- Configurable CPU and memory alert thresholds (orange / red)
- Stacks, images, volumes, networks and pending updates counters
- Stacks list with status, Git badge, sync errors and available updates
- Optional containers list with state, health, image and available updates, a search field (filters by name) and a sort by name, CPU or memory; each container's CPU over the last 24 hours drawn behind its row (with
show_history)
- Image update button on containers with an update available (Dockhand, Portainer): it asks for confirmation, then installs the update (
update.install)
- Start / stop and restart buttons for stacks and containers (with confirmation)
- "Only items needing attention" mode: stopped, unhealthy or outdated first
- Click any value to open its Home Assistant history (more-info dialog)
- Detail button at the top right of the mini card: it switches to the full card and back; a click anywhere outside the card brings the compact view back (the full card's options are set on the mini card too, in its visual editor as well)
- Visual editor in the dashboard UI for both cards (no YAML needed)
- Light and dark mode; English, French, German, Spanish, Serbian (Cyrillic and Latin), Italian, Dutch, European Portuguese, Polish, Romanian, Danish, Swedish, Bulgarian, Russian, Ukrainian, Hungarian, Slovak, Czech, Slovenian, Latvian and Greek
- Single file, no external dependency
Supported integrations
| Integration | What the cards show |
|---|
| Dockhand (Marketplace) | Everything: CPU, memory and containers gauges, Docker version, stacks with Git badge, sync errors and updates, images, volumes, networks, containers, start / stop and restart |
| Monitor Docker (Marketplace, YAML) | CPU, memory and containers gauges, Docker version, OS and architecture, images, containers with start / stop and restart; no stacks, volumes, networks nor image updates. Details in Monitor Docker |
| Portainer (built in, 2025.10 and later) | Status, Docker version, OS and architecture, CPU, memory and containers gauges, images and updates, stacks and containers with start / stop and restart. Details in Portainer |
Several environments, instances and endpoints are supported, and the sources can be mixed: each one shows in the editor's environment list.
Prerequisites
Home Assistant 2024.8 or later, and one of:
This is the beginning of the README. Read the rest at the original. Read the full README ↗