How to Quickly Install DokuWiki on Docker

What is DokuWiki?

Dokuwiki Homepage

DokuWiki is a free and open-source wiki platform that you can self-host on Docker. It 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 doesn’t 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.

Before you run the following command to install DokuWiki on Docker, please make sure you have docker installed. If you are new to Docker, you can review the 25 Basic Docker Commands for Beginners to help get you started.

DokuWiki Docker Run Command

docker create \
  --name=dokuwiki \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=America/New_York \
  -e APP_URL=[YOURURL] `#optional` \
  -p 80:80 \
  -v [volume]:/config \
  --restart unless-stopped \


--name=dokuwikiNames the container “dokuwiki”.
-e PUID=1000Sets Process User ID to 1000 to help avoid permission issues.
-e PGID=1000Sets Process Group ID to 1000 to help avoid permission issues.
-e TZ=[YOURTZ]Change your time zone with the correct time zone from the TZ Database.
-e APPURL=[YOURURL]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.
-p 8081:80/udpExposes port 8081 on the host and maps it to port 80 on the container to connect to DokuWiki in the Browser. You can also use port 443 for SSL.
linuxserver/dokuwikiThe 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. After the container comes back online, you can visit your installation at http://SERVERIP:8081.

If you have any questions or suggestions, please leave a comment below.

The post, How to Quickly Install DokuWiki on Docker, first appeared on Codeopolis.


  1. Like!! I blog quite often and I genuinely thank you for your information. The article has truly peaked my interest.

Comments are closed.