Self-host Dokku
A lightweight, extensible, open-source PaaS built on Docker — a single-server Heroku alternative that turns a `git push` into a running app via Herokuish buildpacks.
Key facts
Choose Dokku when you want the smallest possible Heroku: a git-push deploy engine that runs happily on a 1 GB box, driven entirely from the command line and a plugin system. It's the leanest self-hosted PaaS by far — if you want a dashboard, previews, or multi-server, Coolify or Dokploy are the heavier but friendlier picks.
Follow the Dokku deploy guide →What you need
- Any VPS with at least 1024 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Paid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# Dokku — official version-pinned bootstrap installer
# v0.38.28 (2026-09-17) is the first release whose installer accepts Ubuntu 26.04 —
# earlier tags exit "Unsupported Linux distribution". Not yet re-tested by us.
wget -NP . https://raw.githubusercontent.com/dokku/dokku/v0.38.28/bootstrap.sh
sudo DOKKU_TAG=v0.38.28 bash bootstrap.shWhat you take on
Dokku trades polish for minimalism, and that trade shows up in day-to-day operation: