HUB
Sign inSign up
dokku-in-docker logo

andrius/dokku-in-docker

By andrius

•Updated almost 10 years ago

Dokku in Docker

Image
1

569

andrius/dokku-in-docker repository overview

⁠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.

Tag summary
Recent tags
Content type
Image
Digest
Size
186.9 MB
Last updated
almost 10 years ago
docker pull andrius/dokku-in-docker:latest