What is DokuWiki?
DokuWiki is a free and open-source wiki platform that you can self-host on Docker. This article will walk you through how to install DokuWiki on docker. DokuWiki is super simple to use, you can edit pages using markdown or install a WYSIWYG editor. What makes DokuWiki unique when compared to other Wiki software is that it stores it’s information in markdown files on your server rather than relying on a separate database. Since it does not require a separate database, DokuWiki is not only very simple to install, it is also quick and responsive. DockuWiki has plenty of templates and plugins available that are easy to install through the extension manager within the admin configuration page.
This article will walk you though how to install DokuWiki on Docker.
Create Docker Volume
To make sure that your configuration persists across container updates, this container will require one volume on your docker host that will need to be mapped to the
/config folder within the container. To create the volume, type in
docker volume create dokuwiki in your terminal. This will create a volume that will be used in the below docker run command to map to the
DokuWiki Docker Run Command
Before you run the following command to install DokuWiki on Docker, please make sure you have docker installed on your system. If you are new to Docker, you can review the 25 Basic Docker Commands for Beginners to help get you started.
To install DokuWiki on Docker, copy and paste the below command in your docker host terminal
docker create \ --name=dokuwiki \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=America/New_York \ -e APP_URL=[YOURURL] `#optional` \ -p 8081:80 \ -v dokuwiki:/config \ --restart unless-stopped \ linuxserver/dokuwiki
|Names the container “dokuwiki”.|
|Sets Process User ID to |
|Sets Process Group ID to |
|Change your time zone with the correct time zone from the TZ Database.|
|The IP address or URL that you will use to connect to your server. This is useful if you are running the container behind a reverse proxy.|
|Exposes port |
|The image that is used for this container from the Docker Hub.|
After you run the command you can access the DokuWiki installation process from your browser at
http://SERVERIP:8081/install.php. Here you will setup your admin user and configure your initial settings. Once you have competed the initial configuration, restart the container. Now that you’ve installed DokuWiki on docker, when the container comes back online, you can visit your installation at
If you are looking to review alternatives to DokuWiki, I recommend you review Bookstack.
If you have any questions or suggestions, please leave a comment below.