O'Reilly logo

Build Your Own PaaS with Docker by Oskar Hane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dokku – Docker-powered mini-Heroku

Dokku can be found at https://github.com/progrium/dokku. It is a project that is described by its authors as follows:

"Docker powered mini-Heroku in around 100 lines of Bash."

Feature wise, Dokku carries out deployment in the same way as Heroku does. Let's install Dokku and see what it can do for our PaaS.

Installation

Dokku requires Ubuntu 14.04 to run, and we start by creating a new EC2 instance running that.

Here is a screenshot of what we see:

Installation

When we have created an instance and have it up and running, we can start by installing Docker itself:

sudo apt-get install docker.io

When that is done, we go ahead and install ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required