|
| 1 | +[linuxserverurl]: https://linuxserver.io |
| 2 | +[forumurl]: https://forum.linuxserver.io |
| 3 | +[ircurl]: https://www.linuxserver.io/irc/ |
| 4 | +[podcasturl]: https://www.linuxserver.io/podcast/ |
| 5 | +[appurl]: https://www.dokuwiki.org/dokuwiki |
| 6 | +[hub]: https://hub.docker.com/r/linuxserver/dokuwiki/ |
| 7 | + |
| 8 | +[][linuxserverurl] |
| 9 | + |
| 10 | +The [LinuxServer.io][linuxserverurl] team brings you another container release featuring easy user mapping and community support. Find us for support at: |
| 11 | +* [forum.linuxserver.io][forumurl] |
| 12 | +* [IRC][ircurl] on freenode at `#linuxserver.io` |
| 13 | +* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation! |
| 14 | + |
| 15 | +# linuserver/dokuwiki |
| 16 | +[](https://microbadger.com/images/linuxserver/dokuwiki "Get your own version badge on microbadger.com")[](http://microbadger.com/images/linuxserver/dokuwiki "Get your own image badge on microbadger.com")[][hub][][hub][](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-dokuwiki/) |
| 17 | + |
| 18 | +[DokuWiki][appurl] is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki. |
| 19 | + |
| 20 | +[][appurl] |
| 21 | + |
| 22 | +## Usage |
| 23 | + |
| 24 | +``` |
| 25 | +docker create \ |
| 26 | + --name=dokuwiki \ |
| 27 | + -v <path to data>:/config \ |
| 28 | + -e PGID=<gid> -e PUID=<uid> \ |
| 29 | + -p 80:80 \ |
| 30 | + linuserver/dokuwiki |
| 31 | +``` |
| 32 | + |
| 33 | +## Parameters |
| 34 | + |
| 35 | +`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. |
| 36 | +For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. |
| 37 | +So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 |
| 38 | +http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.` |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +* `-p 80` - the port(s) |
| 43 | +* `-v /config` - where dokuwiki should store its files. |
| 44 | +* `-e PGID` for GroupID - see below for explanation |
| 45 | +* `-e PUID` for UserID - see below for explanation |
| 46 | + |
| 47 | +It is based on alpine linux with s6 overlay, for shell access whilst the container is running do `docker exec -it dokuwiki /bin/bash`. |
| 48 | + |
| 49 | +### User / Group Identifiers |
| 50 | + |
| 51 | +Sometimes when using data volumes (`-v` flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and group `PGID`. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™. |
| 52 | + |
| 53 | +In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as below: |
| 54 | + |
| 55 | +``` |
| 56 | + $ id <dockeruser> |
| 57 | + uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup) |
| 58 | +``` |
| 59 | + |
| 60 | +## Setting up the application |
| 61 | + |
| 62 | +Find the webui at `<your-ip>:80`, for more info see [Dokuwiki][appurl] |
| 63 | + |
| 64 | +## Info |
| 65 | + |
| 66 | +* Shell access whilst the container is running: `docker exec -it dokuwiki /bin/bash` |
| 67 | +* To monitor the logs of the container in realtime: `docker logs -f dokuwiki` |
| 68 | + |
| 69 | +* container version number |
| 70 | + |
| 71 | +`docker inspect -f '{{ index .Config.Labels "build_version" }}' dokuwiki` |
| 72 | + |
| 73 | +* image version number |
| 74 | + |
| 75 | +`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuserver/dokuwiki` |
| 76 | + |
| 77 | +## Versions |
| 78 | + |
| 79 | ++ **dd.mm.yy:** Initial Release. |
0 commit comments