Dokku is a mini-
Heroku , made on the basis of Docker and consisting of less than 100 lines on Bash.
After installation, you can publish your applications with a simple git push. Each application will run in an isolated container. Ultimately, you will have your own Heroku-like platform.
Dokku is so small because it consists of several components that do all the hard work: Docker, Buildstep and Gitreceive.
Docker is a container for Linux. This container provides technology similar to Heroku Dynos. This is the heart of Dokku.
')
Buildstep uses open source Heroku's buildpacks and is responsible for creating the base images on which the application will run. You can think of it as a “stack” of Dokku.
Gitreceive handles git push and runs a special hook.
Also, there are several other projects developed to support Dokku and extend its functionality without increasing the number of lines.
I recorded a screencast describing the installation of Dokku and a little explaining how it works.