Guides

Comparison and when not to use Ant

How Ant relates to SSH scripts, Kamal, Dokku, Coolify, and managed platforms.

Ant sits in the "deploy containers to machines you own" family. What makes it distinct is the shape, not a feature list: a local-first CLI, machines reached by NodeID over iroh (no inbound port after provisioning), a roster of users and roles per machine, and an operator-local dashboard that never leaves the laptop.

Ant in one paragraph

Ant reads your Dockerfile or compose file, builds an image locally or on the target machine, and runs it there behind a managed Caddy. Remote machines run ant-worker, a small daemon that authorizes every call against that machine's roster. There is no central server, no hosted account service, and no shared dashboard: your account is an ed25519 keypair, and access is granted machine by machine. See Architecture and Remote machines.

How the alternatives compare

ToolWhat it is forWhere Ant fits (and differs)
SSH + compose scriptsFull control with no extra moving parts: ssh host 'docker compose up -d' and your own conventionsAnt keeps the compose file but adds staged swaps, health gates, rollback history, Caddy routing, deploy logs, and tunnels. The cost is an agent (ant-worker) on the machine and a one-time provisioning step; the scripts gain a supervisor they did not need before
KamalDeploys Docker containers to servers you own over SSH, with a proxy on the host and images pushed to a registrySame audience; Ant diffs in the control path: no SSH after provisioning, dial by NodeID over iroh, an encrypted channel with no inbound port, and per-machine rosters instead of SSH keys. If your workflow already lives in Kamal's SSH + registry model, Ant is not a drop-in; it is a different transport and access model
DokkuA single-server mini-PaaS: git push builds and deploys, with vhost routing and plugins for databasesAnt has no git-push or per-app vhost automation: projects build from a working tree (or CI) and domains are explicit. Dokku is a great fit when one server is the unit; Ant is for several machines that stay individually owned, with roles rather than one shared server admin
Coolify / CapRoverSelf-hosted web control planes: one central dashboard manages apps and servers (typically over SSH or a Docker Swarm captain)Ant deliberately has no central control plane. Each operator's dashboard is loopback-only against their own files, and each machine keeps its own roster, so there is no shared instance whose compromise or outage reaches every machine. In exchange, Coolify/CapRover offer a richer app catalog and team UI Ant does not have
Managed PaaS (Heroku, Fly, Render, Railway, …)A provider runs the platform: builds, global networking, managed databases, secret stores, teams, SSOAnt provides none of the managed layer. It is for machines you already own; you bring backups, monitoring, secret storage, and TLS at the edge yourself. Choose a managed PaaS when you would rather not operate servers at all

One more difference worth stating plainly: Ant's rollback is per-project. A run: container release rolls back with one command, and a remote compose or stack deploy rolls back to the release record its worker stored (the applied file plus routes; secret values are supplied again). Local compose and stack projects, and records that predate this feature, stay manual: pin the previous images and redeploy. See Remote deploy.

When Ant is not the right fit

  • Large multi-node fleets. Ant manages machines individually; run: stack adds Swarm rolling updates on a manager, but there is no fleet scheduler, autoscaling, or placement layer beyond what Swarm itself does. At fleet scale, use a cluster orchestrator.
  • A multi-tenant PaaS. The local machine has one user, and deployer/ci are root-equivalent on the machine by design. Rosters are a collaboration boundary between people you trust with the box, not tenant isolation for untrusted customers.
  • A hosted dashboard or SSO requirement. The dashboard is operator-local, loopback-only, and unauthenticated there; there is no OIDC, SSO, or shared login. If your organisation requires a central web console, Ant is the wrong shape.
  • Compliance regimes that need central secret management and audit shipping. Ant has no secret store (values are resolved at deploy time from the operator's environment or a provider) and the audit log is local to each machine, with off-host forwarding deferred. Keep secrets in your manager and ship the audit trail from there; if the tool itself must be the system of record, look elsewhere.

If none of those apply, the loss is small: your Dockerfile and compose files keep working, and leaving is a documented --handover bundle (see Existing projects).

Next

Copyright © 2026