DigitalOcean offers a pre-installed Dokku image. You can run this image on any sized Droplet, although larger Droplets will allow you to run larger applications.
Please disable IPv6. There are known issues with IPv6 on DigitalOcean and Docker. If you would like to run Dokku on an IPv6 DigitalOcean Droplet, please consult this guide.
- Login to your DigitalOcean account.
- Click Create a Droplet.
- Under Choose an image > One-click apps, choose the latest Dokku release for 16.04 (version numbers may vary).
- Under Choose a size, select your machine spec.
- Under Choose a datacenter region, select your region.
- Add an SSH Key.
- New Keys
- Under Add your SSH keys click New SSH Key (this opens a dialog).
- From your terminal, execute
- Copy the output and paste it into the New SSH Key dialog, provide a name and click Add SSH Key.
- Existing Keys
- Simply add a checkmark next to the existing keys you'd like to add.
- Under Finalize and create, give your Droplet a hostname (not required) and click Create.
- Once created, copy the IP address to your clipboard.
- In a browser, go to the IP address you copied above and fill out the presented form to complete configuration. Failure to do so may allow others to reconfigure SSH access on your server.
- Once the web UI has been submitted, you will be redirected to our application deployment tutorial, which will guide you through deploying a sample application to your Dokku server.