Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

andrius/dokku-in-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dokku inside Docker

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

Use it

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.

About

Dokku in Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%