Original repository https://github.com/eugeneware/dokku-in-docker updated by Stefan Siegl: http://stesie.github.io/2015/11/dokku-on-docker.
Docker hub version: https://hub.docker.com/r/andrius/dokku-in-docker or
docker pull andrius/dokku-in-docker:latest
Run with something like this:
docker run -d -t -i -e VHOSTNAME=example.org -e USERNAME=progrium -e PUBKEY='your ssh pubkey here' --privileged -p 22 -p 80 --name dokku andrius/dokku-in-docker
Or if you use docker-compose:
.env file:
VHOSTNAME=example.org
USERNAME=progrium
PUBKEY='your ssh pubkey here'
docker-compose.yml file:
version: '2'
services:
dokku:
image: andrius/dokku-in-docker:latest
env_file: .env
privileged: true
ports:
- 0.0.0.0:80:80
- 0.0.0.0:22:22
You can attach to the container to get a shell.