Sign inSign up

alastairhm/alpine-doku

By alastairhm

•Updated almost 2 years ago

Doku Wiki running on Alpine with Lighttpd & PHP

Image
0

1.2K

alastairhm/alpine-doku repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:c24b5d371…

Size

23.1 MB

Last updated

almost 2 years ago

docker pull alastairhm/alpine-doku