Back to directory

Developer Tools · Build & Deployment

Dokku

Deploy Git-based applications on infrastructure you control

Dokku is an open source, self-hosted PaaS for developers deploying applications to a server they manage. It supports Git pushes, Dockerfiles, Buildpacks, and container-based process management under the MIT License. Dokku has no hosted service. Dokku Pro is a separate self-hosted commercial add-on, priced at $849 for a lifetime license.

Key facts

License
MIT
Main language
Shell, Go
Maintainer
Dokku community, led by josegonzalez
First released
2013
Latest release
v0.38.31, September 27, 2026
GitHub stars
32,178, October 2026
Hosted option
None; Dokku Pro is self-hosted and costs $849 one-time

What Dokku is

Dokku is an open source PaaS that runs on a single server and deploys applications from Git pushes. The repository was created in 2013, and its README credits Jeff Lindsay. Josegonzalez is the leading contributor, with Michaelshobbs and Progrium among the listed contributors. GitHub shows 32,178 stars and 2,090 forks in the October 2026 observation. The repository describes Dokku as Docker-powered and lists Buildpacks, containers, Heroku compatibility, Kubernetes, Nomad, and self-hosting among its topics. Version 0.38.31 was released on September 27, 2026. The README links to OpenCollective and Patreon, while the repository identifies no backing company or corporate ownership arrangement.

How it works

Dokku's core workflow begins with a Git push to an application on a configured server. Dokku builds from a Dockerfile or detects the application language with Buildpacks, then starts containers from the resulting image. Nginx routes web processes, while Dokku manages background processes and scheduled cron tasks. A new installation requires a server package, an SSH key, a global domain, an application, and a Git push. Command-line features cover configuration, scaling, domains, certificates, storage, logs, and process management. Plugins add datastores, schedulers, logging, certificates, and other integrations. This approach suits developers who prefer Heroku-style commands while retaining responsibility for the host.

Architecture and recent releases

Dokku is primarily implemented in Shell and Go, with supporting code in Clojure, JavaScript, Python, Ruby, and PHP. Docker is the default scheduler, and the documentation also describes a K3s scheduler for cluster deployments. Nginx provides routing, cron handles scheduled work, and Dockerfiles or Buildpacks create application images. Recent 2026 releases expanded K3s support around Traefik, cert-manager, Helm, Kubernetes tooling, and KEDA. Version 0.38.31 fixed validation and reporting issues. The repository supports Ubuntu 22.04, 24.04, and 26.04, plus Debian 11 or newer, on amd64 and arm64 systems. The default deployment model remains self-hosted rather than a managed multi-server control plane.

License and pricing

Dokku core is licensed under the MIT License, which permits commercial use, modification, and redistribution under its terms. The published core licensing model does not impose a SaaS restriction or an open-core division. Dokku Pro is a separate commercial add-on that runs beside Dokku on servers controlled by the customer. Its published price is $849 for a lifetime license, covering one production server and two pre-production servers. Pro includes a web interface, JSON REST API, team management, Git push support, and email support. Its commercial license permits paid services, while limiting use to one project or company within the stated server allocation. Pro is not a hosted Dokku service.

Limitations and how it compares

Dokku keeps the software stack small, but operators remain responsible for provisioning, upgrades, backups, monitoring, networking, and availability. CapRover and Coolify are the closest open source comparisons, with more emphasis on browser administration. Heroku is the clearest proprietary comparison because it provides a hosted Git-centered workflow and manages more infrastructure for the customer. Dokku offers greater control over server location and operating costs, but requires more operational work. The published installation page gives minimum memory requirements, while Dokku Pro 1.4.0 adds a backup and restore guide for Pro-specific state. Pick Dokku if you want Git-based deployment on infrastructure you administer.

Main features

  • Git push deployment. Deploy applications by pushing source code to a Dokku server after creating an application and configuring SSH access.
  • Dockerfile builds. Build applications from Dockerfiles and run containers based on the resulting application image through the platform’s documented configuration and deployment interfaces.
  • Buildpack detection. Detect supported application languages and build them with Heroku-compatible Buildpacks during deployment through the platform’s documented configuration and deployment interfaces.
  • Process management. Manage web, background, and scheduled cron processes through Dokku application commands through the platform’s documented configuration and deployment interfaces.
  • Domain routing. Route web processes through Nginx using global domains, application domains, wildcard domains, or assigned ports.
  • K3s scheduling. Deploy applications with the K3s scheduler, which requires 2GB of memory on every cluster node.
  • Plugin integrations. Extend Dokku with plugins for datastores, schedulers, logging, certificates, authentication, and application services through the platform’s documented configuration and deployment interfaces.

Self-hosting Dokku

Install Dokku on a fresh Ubuntu 22.04, 24.04, or 26.04 system, or Debian 11 and newer, using the published bootstrap script with sudo. Supported architectures are amd64 and arm64. The Docker scheduler requires at least 1GB of system memory or added swap, while the K3s scheduler requires 2GB on every node. The default installation uses Docker, Nginx, and cron. Dokku does not require PostgreSQL, Redis, or object storage for the core installation, although plugins can add datastores. Upgrade instructions are published, and Dokku Pro 1.4.0 includes a backup and restore guide for Pro-specific state.

Strengths

  • Git push deployment gives Heroku users a familiar release workflow.
  • Docker containers run application processes on infrastructure controlled by the operator.
  • Buildpack and Dockerfile support covers convention-based and custom application builds.
  • The MIT License permits commercial use without a subscription for core Dokku.

Drawbacks

  • Operators must handle server security, upgrades, backups, networking, and availability.
  • The default deployment model centers on one server rather than managed multi-region infrastructure.
  • Dokku Pro costs $849 and limits the published license to one production server and two pre-production servers.

What teams replace with it

Teams usually evaluate Dokku when they want to move off Heroku, Render, Railway.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Dokku

Frequently asked questions

Is Dokku free to use?

The core Dokku software is open source under the MIT License and can be self-hosted without a software subscription. Operators still pay for servers, storage, networking, and optional managed services. Dokku Pro is a separate commercial add-on priced at $849 for a lifetime license. Pro runs on the customer's own Dokku installation rather than as a hosted service.

Can Dokku be used commercially?

Yes. The core repository identifies the MIT License, which permits commercial use, modification, and redistribution under its terms. Dokku Pro has a separate commercial license that permits paid services while limiting the published license scope to one project or company, one production server, and up to two pre-production servers. Pro is not required to run core Dokku.

How do I self-host Dokku, and what does it require?

Install Dokku with the documented bootstrap script on Ubuntu 22.04, 24.04, or 26.04, or Debian 11 and newer. Supported architectures are amd64 and arm64. The Docker scheduler requires at least 1GB of memory or added swap. The K3s scheduler requires 2GB on every node. After installation, import an SSH key, set a domain, create an app, and deploy with Git.

How does Dokku compare with CapRover?

Both are self-hosted Docker-focused application platforms. Dokku centers on Git pushes, Buildpacks, Dockerfiles, command-line administration, Nginx routing, and plugins. Dokku Pro adds a web interface and API. CapRover places more of its administration in a browser interface. Choose Dokku for a Heroku-style Git workflow and CapRover for a more web-first administrative experience.

Does Dokku keep application data private?

Dokku runs on servers selected and managed by the operator, and Dokku Pro says that applications and data remain under the customer's control. Privacy and security still depend on server hardening, SSH access, network configuration, secrets handling, backups, updates, and installed plugins. Dokku does not provide a managed security service or automatic backup system as part of the core installation.

Similar projects to compare

Sources

Last updated 2026-10-22.