See your whole fleet, live
A map of every host and container, what needs attention, the top CPU and memory users and a live activity feed. Changes are pushed to the browser as they happen.
Self-hosted Docker manager for your homelab
Run one hub. Put a small agent on each server. Then watch every container, read logs, open a terminal, deploy compose stacks and keep it all up to date from one web UI. Your servers open no ports.
$ curl -fsSL https://raw.githubusercontent.com/prezmc/tainerhub/main/install.sh | sh
Features
No more SSH-ing into each box to see what's running. TainerHub brings your containers, stacks and servers together, with roles so you can share it safely.
A map of every host and container, what needs attention, the top CPU and memory users and a live activity feed. Changes are pushed to the browser as they happen.
Start, stop, restart, update and remove containers on any host. Open live logs, a terminal in the browser, or a details panel with health-check history, mounts and networks.
Paste a compose file, pick a host and deploy while the output streams live. Edit and redeploy, roll back to an earlier image, take over projects you started by hand, or move a stack to another host.
Search Docker Hub or use a private registry, then set ports, variables, volumes and more. TainerHub suggests the host with the most room and shows the compose file before it deploys.
Containers get an update badge when a newer image is out. Opt stacks and containers in to automatic updates in a nightly window, and update TainerHub and Docker Engine from the Hosts page.
See what's on each host and which containers use it. Pull images, prune one host at a time, and mount SMB or NFS shares from your NAS as Docker volumes.
Invite people as viewer, operator or admin with a one-time link, and limit them to some hosts. Secrets stay hidden below admin. Every sign-in and change is logged.
Put TainerHub behind Nginx Proxy Manager from the Settings page. It shows the exact proxy settings and tests them. Then sign in with a passkey.
Press ⌘K and type restart pihole. For scripts and dashboards, create an API token and call the same JSON API the UI uses.
Tour
Screenshots from a demo homelab: a main server, a NAS and a Raspberry Pi.
On your phone
The UI fits a phone screen, so you can see what's unhealthy and restart a container from the sofa.
How it works
Agents dial out to the hub, so the servers you manage never need an open port.
:8585:7443
Serves the web UI and API on port 8585 and the agent gateway on port 7443, with a small Postgres database. It has no Docker access of its own.
Each keeps one long-lived HTTP/2 connection out to the hub, secured with mutual TLS, and accepts only a fixed list of operations, not raw Docker API calls.
Agents read CPU and memory from the kernel's cgroup files. They sample every 10 seconds while someone is looking and once a minute otherwise.
The hub's own server runs an agent too. That's how TainerHub updates itself, and every other server, from the Hosts page.
Security
TainerHub controls Docker on every server it manages. So it locks down each layer, and says plainly what it can't protect against.
TLS 1.3 only, with certificates on both ends. The hub runs its own private CA and agents pin its fingerprint, so they can't be tricked into joining a fake hub.
Adding a host makes a token that works once and expires after an hour. Agent certificates renew themselves, and removing a host drops its connection at once.
Viewer, operator, admin and owner are checked on every request, not just hidden in the UI. Environment values, label values and compose files stay hidden below admin.
Passwords hashed with argon2id, passkeys over HTTPS, single-use recovery codes, and a fresh sign-in for sensitive changes like new tokens and new hosts.
CI runs govulncheck, npm audit and a Trivy image scan. Images ship with an SBOM and provenance, and :latest only moves after the scan passes.
Every sign-in, change, enrollment and certificate renewal is recorded, so you can see who did what and when.
Get started
You need a Linux server with Docker Engine and the Compose plugin. Other servers need Docker too, and must reach the hub on port 7443.
It installs in ~/tainerhub, then prints the database password (save it) and a one-time setup link.
curl -fsSL https://raw.githubusercontent.com/prezmc/tainerhub/main/install.sh | sh
Open the setup link within 15 minutes and create the owner account. Lost the link? Print a new one:
docker exec tainerhub /tainerhub setup-link
Go to Hosts → Add host, give it a name like nas or pi, and paste the one-line command it gives you on that server. The hub's own server is already there.
It works with a password over plain HTTP on your LAN. To use passkeys, put it behind Nginx Proxy Manager from Settings, LAN-only if you like.
TainerHub is early software. Each green build of main is published as ghcr.io/prezmc/tainerhub and ghcr.io/prezmc/tainerhub-agent for linux/amd64 and linux/arm64. Not there yet: metrics history and alerts.
Documentation