Overview
Platform health
Dokku 0.38.25 with Docker Engine and nginx active, the first boot complete, and Docker storage on its own dedicated data volume.
Platform health
Add a deploy SSH key
Deploy and serve an app
Manage apps
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Overview
Dokku is the smallest open source Platform as a Service: a single-node, self-hosted alternative to Heroku that turns one instance into a git-push deploy platform. You add your own SSH key, push your application with git, and Dokku detects the language, builds it with Cloud Native or Heroku buildpacks (or from your Dockerfile), runs it as a Docker container and routes public traffic to it through nginx - no Kubernetes, no control plane, no external services. This image delivers Dokku fully installed with Docker Engine and nginx, so a working PaaS is online within a minute or two of launch.
Why This Image Over Manual Installation
Standing Dokku up by hand means provisioning an instance, installing Docker and nginx, adding the Dokku apt repository, running its bootstrap non-interactively, and - crucially - making sure no shared deploy key is baked into the image. This image closes that gap. Dokku is preinstalled and pinned to a known version, Docker's storage lives on a dedicated, independently resizable data volume, and the image ships with ZERO deploy keys and no password login: the very first thing every operator does is add their own SSH public key, so access is theirs alone from the start.
Application Stack
Dokku runs as a set of core plugins driven by the dokku CLI, on top of Docker Engine and nginx. Docker builds and runs each deployed app as a container; nginx is the front proxy that maps each app's virtual host to its container. On first boot the image sets a global wildcard domain from the instance's public IP (via nip.io) so your apps get working URLs with no DNS setup, and every deployed app is reachable at http://..nip.io.
Deploy The Heroku Way
- Push with git over SSH and Dokku builds and deploys automatically
- Buildpack (Cloud Native / Heroku) or Dockerfile builds, your choice
- Per-app environment variables, domains, and zero-downtime deploys
- Official plugins for PostgreSQL, MySQL, Redis, MongoDB and more datastores
- Automatic Let's Encrypt TLS for your app domains
Security and Hardening
Dokku's access model is SSH public keys, not passwords - and this image ships with none baked in. The installer is preseeded to import no key, the build asserts the dokku user's authorized_keys file is empty before capture, and the Docker daemon listens only on its local unix socket, never over unauthenticated TCP. You register your own key with dokku ssh-keys:add on first use. The base OS is fully patched with unattended security updates enabled.
Concrete Use Cases
- A self-hosted Heroku for a small team: deploy a handful of web apps and their databases to one instance with git push, and manage them from the dokku CLI - no orchestration platform to run.
- Review and staging environments: spin up per-branch app instances cheaply, each on its own nip.io subdomain, and tear them down when the branch merges.
- Cost-controlled production for side projects: run a production web service, its Postgres and its TLS on a single instance you fully own, without per-dyno platform fees.
Ready To Use
SSH to the instance, add your public key with sudo dokku ssh-keys:add, create an app, and git push - Dokku and Docker are already running.
cloudimg Support
Dokku is one of the most widely adopted open source PaaS platforms, with a large global community and thousands of production deployments.
Highlights
- A complete single-node Platform as a Service, Dokku preinstalled with Docker Engine and nginx: add your SSH key, git push your app, and Dokku builds it with buildpacks or your Dockerfile, runs it as a container and routes traffic through nginx, ready within minutes of launch
- Secure by default with NO baked deploy key and no password login - the installer imports no key, the build proves the dokku user ships zero authorized keys, and the Docker daemon is never exposed over TCP; you add your own key on first use
- Docker's storage lives on a dedicated, independently resizable data volume, apps get working URLs on first boot with no DNS setup via nip.io, and official plugins add PostgreSQL, Redis and more, with 24/7 technical support from cloudimg
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
m5.large Recommended | m5.large | $0.08 |
t2.micro | t2.micro instance type | $0.04 |
t3.micro | t3.micro instance type | $0.04 |
c5a.12xlarge | c5a.12xlarge instance type | $0.24 |
c5a.16xlarge | c5a.16xlarge instance type | $0.24 |
c5a.24xlarge | c5a.24xlarge instance type | $0.24 |
c5a.2xlarge | c5a.2xlarge instance type | $0.24 |
c5a.4xlarge | c5a.4xlarge instance type | $0.24 |
c5a.8xlarge | c5a.8xlarge instance type | $0.24 |
c5a.large | c5a.large instance type | $0.08 |
Vendor refund policy
Refunds available on request.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Initial release of Dokku 0.38.25 as a ready-to-use single-node Platform as a Service with Docker Engine and nginx preinstalled, Docker storage on a dedicated data volume, and no deploy key baked in - you add your own SSH key on first use.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (for the Ubuntu 24.04 variant the user is ubuntu). Retrieve the per-instance connection details with: sudo cat /root/dokku-info.txt - it holds the global app domain, the git remote pattern, and how to add your key. Dokku ships with NO deploy key: register your own SSH public key first with sudo dokku ssh-keys:add admin < your-key.pub (or pipe it over SSH). Then create an app and push: dokku apps:create myapp on the instance, git remote add dokku dokku@<instance-public-ip>:myapp on your workstation, and git push dokku main - Dokku builds and deploys it, served at http://myapp .<public-ip>.nip.io. Docker Engine and nginx are preinstalled and running under systemd. The instance security group opens ports 22 (git-push + SSH) and 80/443 (traffic to your deployed apps); restrict the source CIDR to your own networks.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this product by email and live chat.
What We Help With
- Deployment and initial configuration
- Adding your SSH deploy key and first app deploy
- Buildpack and Dockerfile builds
- App domains, environment variables and TLS
- Datastore plugins (PostgreSQL, Redis and more)
- nginx routing and zero-downtime deploys
- Performance tuning and troubleshooting
Getting Started
After launching your instance, contact our team for a free guided setup session if you need help adding your deploy key, deploying your first app, or wiring up a database.
Prerequisites and Instance Sizing
This image runs on standard EC2 instances. An m5.large is a comfortable default; buildpack (source) builds benefit from more RAM, so size up if you build large applications. Open ports 22 and 80/443 to your own networks in the security group. Docker storage lives on a dedicated data volume you can resize independently. The connection details are stored in a root-only file on the instance - retrieve them via SSH on first login.
Refunds
If you experience issues with the product, contact us first so we can help resolve them. Refund requests can be submitted through our support channels.
Contact
Email: support@cloudimg.co.uk Live chat: Available 24/7
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.