Minimal installation of DokuWiki based on Alpine Linux.
100K+
This is a minimal docker image for DokuWiki. It is build from Alpine Linux for minimal size. No HTTP server is used, php is used to serve all content. This reduces the image size further, but the image does not support .htaccess files and other functionality. Most likely you want to run a reverse proxy with more functionality in front.
You can find the image on the Docker Hub and the sources on GitHub.
Create volumes for data and configuration:
docker volume create dokuwiki_conf
docker volume create dokuwiki_data
Start your wiki:
docker run -d --name some-dokuwiki -p 8080:80 -v dokuwiki_conf:/dokuwiki-conf -v dokuwiki_data:/dokuwiki-data moritanosuke/dokuwiki-docker
Now you can access your dokuwiki at http://localhost:8080
To get a copy of your wiki data, run the following command:
docker run --rm -v dokuwiki_data:/data -v $(pwd):/backup alpine:latest tar czf /backup/dokuwiki-data.tgz /data
After you started a new dokuwiki container, you can restore your previous backup with the following command:
docker run --rm -v dokuwiki_data:/data -v $(pwd):/backup alpine:latest tar xzf /backup/dokuwiki-data.tgz /data
Content type
Image
Digest
Size
11.7 MB
Last updated
almost 5 years ago
docker pull moritanosuke/dokuwiki-docker