Cloud · head to head
Dokku vs OpenTofu

Dokku
Cloud
Single-server platform that accepts a git push and runs Heroku buildpacks on Docker
- From
- Free
- Free plan
- Yes

OpenTofu
Cloud
Open-source infrastructure as code tool, a drop-in Terraform replacement under the Linux Foundation
- From
- Free
- Free plan
- Yes
The short version
- OpenTofu is a Linux Foundation open-source fork of Terraform under the MPL 2.
- OpenTofu is free; Dokku starts at $849 one-off.
- Only Dokku lists git push deploy; only OpenTofu lists drop-in Terraform compatibility.
- Where OpenTofu falls short: compatibility with Terraform is not guaranteed as the projects diverge.
How do Dokku and OpenTofu differ?
Dokku and OpenTofu differ on pricing model and platforms. Only the attributes on which Dokku and OpenTofu actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for OpenTofu.
Which features does each one have?
They share no listed features; 6 appear only for Dokku and 7 only for OpenTofu. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Dokku
- Git push deploy
- Heroku buildpacks
- Datastore plugins
- Automatic certificates
- Zero downtime deploys
- Pluggable schedulers
Only in OpenTofu
- Drop-in Terraform compatibility
- Declarative infrastructure configuration
- Client-side state encryption
- Provider for_each
- Exclude flag for plan and apply
- Early variable evaluation in modules
- Large provider and module registry
What is each one used for?
OpenTofu is most often brought in for replacing Terraform under an open-source licence. The jobs each tool is most often brought in to do.
Dokku
- Running a dozen side projects and client applications on one virtual private server with Heroku style deploymentnot OpenTofu
- Moving off a managed platform when the monthly bill has grown faster than the traffic hasnot OpenTofu
- A consultancy that wants buildpack deployments without teaching every client team Kubernetesnot OpenTofu
- Keeping a legacy Procfile application alive on hardware you control after a managed platform deprecates its stacknot OpenTofu
OpenTofu
- Replacing Terraform under an open-source licencenot Dokku
- Multi-cloud infrastructure provisioningnot Dokku
- Encrypting Terraform-style statenot Dokku
- Reusable infrastructure modulesnot Dokku
Where do Dokku and OpenTofu fall short?
OpenTofu's most cited limit: compatibility with Terraform is not guaranteed as the projects diverge. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Dokku
- One maintainer accounts for nearly all human commit activity and the project records roughly 10,500 US dollars of annual income on Open Collective, which is not enough to fund a maintainer, so continuity rests on one person continuing to volunteer
- Dokku Pro asks 849 US dollars for a lifetime licence from a project with no disclosed legal entity behind the promise and no published refund terms, while the product is still described as in development at early bird pricing
- Dokku is single-server by design, and the k3s scheduler that provides multi-node support is missing log retrieval, process inspection and content-based health checks, with a post-run hook the documentation says does not consistently fire
- Supported operating systems are limited to Ubuntu 22.04 or 24.04 and Debian 11 or later, so organisations standardised on Red Hat, Rocky or Alma Linux cannot run it on their approved base image
- Backups are separate commands per datastore plugin that you schedule yourself, with no unified snapshot, no point-in-time recovery and no tested restore path, so verifying that a restore works is entirely your responsibility
OpenTofu
- Compatibility with Terraform is not guaranteed as the projects diverge
- No project-run hosted service for state and runs
- Commercial support comes from third parties
- Newer ecosystem of tutorials than Terraform
How much do Dokku and OpenTofu cost?
Dokku has a free plan, with paid plans from $849 one-off; OpenTofu is free to use. Plan by plan below, from each vendor's own pricing page.
Dokku
Free- DokkuFree
- MIT licensed, no usage limits
- Command line and SSH only
- All datastore and certificate plugins
- Dokku Pro$849 one-off
- Lifetime licence with free upgrades and no subscription
- Covers 1 production and 2 pre-production servers
- Web dashboard and JSON REST API
OpenTofu
FreeNo published plan breakdown. See the OpenTofu review.
Which should you pick?
Choose Dokku if
- You need git push deploy.
- You want to start without paying.
- You work on Linux, Self-hosted, API.
- You also want heroku buildpacks.
Choose OpenTofu if
- You need drop-in terraform compatibility.
- You want to start without paying.
- You also want declarative infrastructure configuration.
Questions people ask
- Is Dokku or OpenTofu better?
- It depends on the job. Dokku fits running a dozen side projects and client applications on one virtual private server with Heroku style deployment; OpenTofu fits replacing Terraform under an open-source licence. Dokku starts at Free and OpenTofu at Free.
- Which is cheaper, Dokku or OpenTofu?
- Dokku starts at Free and OpenTofu at Free.
- Does Dokku or OpenTofu run on more platforms?
- Dokku runs on Linux, Self-hosted, API. OpenTofu runs on Web.
- Can I use Dokku for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Dokku best used for?
- Dokku is most often used for running a dozen side projects and client applications on one virtual private server with heroku style deployment, moving off a managed platform when the monthly bill has grown faster than the traffic has, a consultancy that wants buildpack deployments without teaching every client team kubernetes, keeping a legacy procfile application alive on hardware you control after a managed platform deprecates its stack. Of those, running a dozen side projects and client applications on one virtual private server with heroku style deployment and moving off a managed platform when the monthly bill has grown faster than the traffic has are not what OpenTofu is typically brought in for.
- What can Dokku do that OpenTofu cannot?
- Dokku covers Git push deploy, Heroku buildpacks, Datastore plugins, Automatic certificates. OpenTofu covers Drop-in Terraform compatibility, Declarative infrastructure configuration, Client-side state encryption, Provider for_each.
Answered from the vendors’ own pages
Dokku: Is Dokku still maintained?
Yes. Version 0.38.27 shipped in August 2026 with roughly six releases in the preceding two months. The caveat is that one maintainer writes nearly all of it.
OpenTofu: What licence does OpenTofu use?
Mozilla Public License 2.0.
SourceDokku: What does Dokku Pro give me over the free edition?
A web dashboard, a JSON REST API, git push over HTTPS, browser log tailing, team management and email support from the maintainers. It costs 849 US dollars once for one production and two pre-production servers.
OpenTofu: Why was OpenTofu created?
As a fork of Terraform after HashiCorp changed its licence, begun in August 2023.
SourceDokku: Can Dokku run across multiple servers?
Only through the k3s or Nomad schedulers. The k3s path is missing several commands and health check types, and the older Kubernetes scheduler is deprecated and no longer developed.
OpenTofu: What is the latest version?
1.13.11, published on 30 November 2026.
SourceDokku: Will my Heroku application run on it unchanged?
Usually. Dokku runs the same buildpacks and reads a Procfile, so the application layer normally moves across. Add-ons, scaling behaviour and backups are the parts you have to rebuild.
Related pages
Other head to heads
- Dokku vs Coolify
- Dokku vs CapRover
- Dokku vs Fly.io
- Dokku vs Render
- Dokku vs Heroku
- Dokku vs Qovery
- Dokku vs Porter
- Dokku vs Upsun
- Dokku vs Railway
- Dokku vs Northflank
- Dokku vs Red Hat OpenShift
- Dokku vs Fastly
- Dokku vs Fireworks AI
- Dokku vs Koyeb
- Dokku vs Linkerd
- Dokku vs Proxmox VE
- Dokku vs Akamai
- Dokku vs Podman
- Dokku vs Pulumi
- Dokku vs Terragrunt
- Dokku vs Packer
- Dokku vs Rancher
- Dokku vs Serverless Framework
- Dokku vs SST
- Dokku vs Flux
- Dokku vs Portworx
- Dokku vs Infracost
- Dokku vs Puppet
- Dokku vs Contabo
- Dokku vs Crossplane
- Dokku vs Crusoe Cloud
- Dokku vs Google Cloud Run
- Dokku vs Vagrant
- Dokku vs kind
- Dokku vs Buildah
- OpenTofu vs Coolify
- OpenTofu vs CapRover
- OpenTofu vs Fly.io
- OpenTofu vs Render
- OpenTofu vs Heroku
- OpenTofu vs Qovery
- OpenTofu vs Porter
- OpenTofu vs Upsun
- OpenTofu vs Railway
- OpenTofu vs Northflank
- OpenTofu vs Red Hat OpenShift
- OpenTofu vs Fastly
- OpenTofu vs Fireworks AI
- OpenTofu vs Koyeb
- OpenTofu vs Linkerd
- OpenTofu vs Proxmox VE
- OpenTofu vs Akamai
- OpenTofu vs Podman
- OpenTofu vs Pulumi
- OpenTofu vs Terragrunt
- OpenTofu vs Packer
- OpenTofu vs Rancher
- OpenTofu vs Serverless Framework
- OpenTofu vs SST
- OpenTofu vs Flux
- OpenTofu vs Portworx
- OpenTofu vs Infracost
- OpenTofu vs Puppet
- OpenTofu vs Contabo
- OpenTofu vs Crossplane
- OpenTofu vs Crusoe Cloud
- OpenTofu vs Google Cloud Run
- OpenTofu vs Vagrant
- OpenTofu vs kind
- OpenTofu vs Buildah
