Improve This Doc

Digital Ocean Droplet

Digital Ocean 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 Digital Ocean and Docker. If you would like to run Dokku on an IPv6 Digital Ocean Droplet, please consult this guide.

  1. Login to your Digital Ocean account
  2. Click Create a Droplet.
  3. Under Choose an image > One-click apps and choose the latest Dokku release for 16.04 (version numbers may vary).
  4. Under Choose a size and select your a machine spec. We recommend a machine with at least 1GB of memory.
  5. Under Choose a datacenter region select your region.
  6. Add an SSH Key
    • New Keys
      1. Under Add your SSH keys click New SSH Key (this opens a dialog)
      2. From your terminal, execute cat $HOME/.ssh/id_rsa.pub
      3. Copy the output and paste it into the New SSH Key dialog, provide a name and click Add SSH Key
    • Existing Keys
      1. Simply add a checkmark next to the existing keys you'd like to add.
  7. Under Finalize and create, give your droplet a hostname (not required) and click Create.
  8. Once created, copy the IP address to your clipboard.
  9. 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.
  10. 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.
  v: master
Versions
On GitHub
View
Edit

Free document hosting provided by Viewdocs.