The 'best' way to run DokuWiki in Docker
Update: 2025-08-01 There is apparently an official DokuWiki image now. You should probably use that instead of this method. Introduction I’ve been trying to get my homelab applications moved from running on VM/LXC to Docker. There’s nothing wrong with VMs or LXC containers, but I’m trying to manage fewer servers and “snowflakes” (even though I do my installs with Ansible). The application that started my homelab journey was DokuWiki. It’s a self-hosted wiki, written in PHP, that requires no database. You write in a Markdown-like syntax (not Markdown) and your data is stored in plain TXT files on the filesystem. DokuWiki, however, is not 100% straightforward to Dockerize. ...