[HACS] Dockge — Monitor and manage Docker stacks from Home Assistant

I run Docker Compose stacks across four servers managed by my fork of Dockge (based on louislam/dockge) with a REST API and update management, and I wanted visibility into all of them from Home Assistant — container status, available image updates, and the ability to trigger updates without leaving HA.

So I built an integration and a companion dashboard card for it. I used Claude Code extensively throughout development — the implementation, iteration, and debugging were all done collaboratively with it. I’m being upfront about that because I think it’s worth being honest about how tools like this are being used in practice.

What it does

  • Container monitoring — per-container sensors with state, image, health, and update availability
  • Multi-server support — works across multiple Dockge agents with per-server summary sensors and a global summary aggregating everything
  • Auto-update control — per-stack switches to toggle auto-updates
  • Update actions — buttons to update individual stacks, check for updates, or trigger a scheduled run
  • Scheduler visibility — sensors for auto-update scheduler state, next run times, and update history
  • Resilient polling — preserves data from temporarily disconnected agents instead of showing entities as unavailable
  • Dashboard card — a custom Lovelace card that auto-discovers all servers and stacks, with real-time status, popup actions (start/stop/restart/update), and a processing indicator that pulses blue while operations are in progress

Each Dockge server gets its own device with child devices per stack, so everything is cleanly organized in the HA device registry.

Screenshot

Requirements

This integration requires a fork of Dockge that adds a REST API, auto-update scheduling, and image update detection. It won’t work with upstream Dockge (which only has a socket.io interface and no REST API).

Installation

HACS (custom repository for now, default submission pending)

  1. Open HACS → three dots → Custom repositories
  2. Add https://github.com/finder39/ha-dockge with category Integration
  3. Download and restart Home Assistant
  4. Go to Settings → Devices & Services → Add Integration → search Dockge
  5. Enter your Dockge URL and API key

Or use this button:

Open HACS Repository

Dashboard Card (optional)

  1. Open HACS → three dots → Custom repositories
  2. Add https://github.com/finder39/dockge-card with category Dashboard
  3. Download, then add custom:dockge-card to any dashboard

Links

Feedback and contributions welcome. Happy to answer questions about the integration, the card, or the Dockge fork.

1 Like

Good timing! I’ve just switched from Portainer to Dockge and planned to vibe code a HA integration with claude code in case there is none :laughing:

1 Like