Self-hosted Docker manager for your homelab

Every Docker server you own, on one page.

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.

Install the hub on a Linux server with Docker
$ curl -fsSL https://raw.githubusercontent.com/prezmc/tainerhub/main/install.sh | sh
tainerhub · Overview
A quick tour, with demo data.
  • 0open ports on managed servers
  • 1command to install the hub
  • TLS 1.3mutual TLS between agents and hub
  • amd64 + arm64images, Raspberry Pi included

Features

Everything you reach for, in one place

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.

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.

Manage every container

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.

Deploy compose stacks

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.

Run new containers

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.

Stay up to date

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.

Images, volumes, networks

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.

Users, roles and an audit log

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.

HTTPS and passkeys

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.

Command palette and API

Press ⌘K and type restart pihole. For scripts and dashboards, create an API token and call the same JSON API the UI uses.

Tour

Take a look around

Screenshots from a demo homelab: a main server, a NAS and a Raspberry Pi.

On your phone

Check in from anywhere you can reach the hub

The UI fits a phone screen, so you can see what's unhealthy and restart a container from the sofa.

The Overview page on a phone The Containers page on a phone

How it works

One hub, a small agent on each server

Agents dial out to the hub, so the servers you manage never need an open port.

1

The hub

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.

2

The agents

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.

3

Light on your servers

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.

4

Updates itself

The hub's own server runs an agent too. That's how TainerHub updates itself, and every other server, from the Hosts page.

Security

Careful by design, because Docker access is root

TainerHub controls Docker on every server it manages. So it locks down each layer, and says plainly what it can't protect against.

Mutual TLS with a pinned CA

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.

Join tokens that expire

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.

Roles enforced by the API

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.

Strong sign-in

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.

Checked on every push

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.

An audit log of everything

Every sign-in, change, enrollment and certificate renewal is recorded, so you can see who did what and when.

Read the security model and hardening checklist

Get started

Up and running in a few minutes

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.

  1. Install the hub

    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
  2. Create your account

    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
  3. Add your other servers

    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.

    The Add a host dialog
  4. Add HTTPS when you're ready

    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.