Public | Automated Build

Last pushed: a year ago
Short Description
Doku Wiki running on Alpine with Lighttpd & PHP
Full Description

Doku Wiki running on Alpine Docker Image

Doku Wiki running on Lighttpd/PHP Docker Image

Initial images < 50Mb

Running

docker run --name "my-wiki" -d -p 80:80 alastairhm/alpine-doku

Browse to install page http://localhost/install.php

Data Persistence

You can use volume mounts to persist your data outside the container for example

docker run --name "my-wiki" -d -p 80:80 -v $(pwd)/data:/var/doku/data -v $(pwd)/conf:/var/doku/conf alastairhm/alpine-doku

this will create the data/ conf directories in your local directory.

There is An issue with file permissions when using the volume mounts on a Mac so;

Backup

You can copy your Wiki out of your container with

docker cp my-wiki:/var/doku/data ./
docker cp my-wiki:/var/doku/conf ./

Restore

Startup a new instance of your Doku container then

docker cp data my-wiki:/var/doku/
docker cp conf my-wiki:/var/doku/
docker my-wiki stop
docker my-wiki start
Docker Pull Command
Owner
alastairhm
Source Repository

Comments (0)