You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
109
-
```
109
+
110
+
```bash
110
111
docker run --rm --privileged multiarch/qemu-user-static:register --reset
111
112
```
112
113
113
114
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
114
115
115
-
## Update the chagelog
116
+
## Update the changelog
116
117
117
118
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-dokuwiki/tree/master/root), add an entry to the changelog
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
14
14
15
-
* regular and timely application updates
16
-
* easy user mappings (PGID, PUID)
17
-
* custom base image with s6 overlay
18
-
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
-
* regular security updates
15
+
* regular and timely application updates
16
+
* easy user mappings (PGID, PUID)
17
+
* custom base image with s6 overlay
18
+
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
19
+
* regular security updates
20
20
21
21
Find us at:
22
+
22
23
*[Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
23
24
*[Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
24
25
*[Discourse](https://discourse.linuxserver.io) - post on our community forum.
@@ -40,7 +41,6 @@ Find us at:
40
41
41
42
[Dokuwiki](https://www.dokuwiki.org/dokuwiki/) 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.
@@ -57,6 +57,9 @@ The architectures supported by this image are:
57
57
| arm64 | arm64v8-latest |
58
58
| armhf | arm32v7-latest |
59
59
60
+
## Application Setup
61
+
62
+
Upon first install go to `http://$IP:$PORT/install.php` once you have completed the setup, restart the container, login as admin and set "Use nice URLs" in the `admin/Configuration Settings` panel to `.htaccess` and tick `Use slash as namespace separator in URLs` to enable [nice URLs](https://www.dokuwiki.org/rewrite) you will find the webui at `http://$IP:$PORT/`, for more info see [Dokuwiki](https://www.dokuwiki.org/dokuwiki/)
60
63
61
64
## Usage
62
65
@@ -87,7 +90,7 @@ services:
87
90
88
91
### docker cli
89
92
90
-
```
93
+
```bash
91
94
docker run -d \
92
95
--name=dokuwiki \
93
96
-e PUID=1000 \
@@ -100,7 +103,6 @@ docker run -d \
100
103
ghcr.io/linuxserver/dokuwiki
101
104
```
102
105
103
-
104
106
## Parameters
105
107
106
108
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
@@ -120,7 +122,7 @@ You can set any environment variable from a file by using a special prepend `FIL
120
122
121
123
As an example:
122
124
123
-
```
125
+
```bash
124
126
-e FILE__PASSWORD=/run/secrets/mysecretpassword
125
127
```
126
128
@@ -139,24 +141,17 @@ Ensure any volume directories on the host are owned by the same user you specify
139
141
140
142
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
Upon first install go to `http://$IP:$PORT/install.php` once you have completed the setup, restart the container, login as admin and set "Use nice URLs" in the `admin/Configuration Settings` panel to `.htaccess` and tick `Use slash as namespace separator in URLs` to enable [nice URLs](https://www.dokuwiki.org/rewrite) you will find the webui at `http://$IP:$PORT/`, for more info see [Dokuwiki](https://www.dokuwiki.org/dokuwiki/)
152
-
153
-
154
149
## Docker Mods
150
+
155
151
[](https://mods.linuxserver.io/?mod=dokuwiki"view available mods for this container.")[](https://mods.linuxserver.io/?mod=universal"view available universal mods.")
156
152
157
153
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
158
154
159
-
160
155
## Support Info
161
156
162
157
* Shell access whilst the container is running: `docker exec -it dokuwiki /bin/bash`
@@ -173,38 +168,45 @@ Most of our images are static, versioned, and require an image update and contai
173
168
Below are the instructions for updating containers:
174
169
175
170
### Via Docker Compose
171
+
176
172
* Update all images: `docker-compose pull`
177
173
* or update a single image: `docker-compose pull dokuwiki`
178
174
* Let compose update all containers as necessary: `docker-compose up -d`
179
175
* or update a single container: `docker-compose up -d dokuwiki`
180
176
* You can also remove the old dangling images: `docker image prune`
181
177
182
178
### Via Docker Run
179
+
183
180
* Update the image: `docker pull ghcr.io/linuxserver/dokuwiki`
184
181
* Stop the running container: `docker stop dokuwiki`
185
182
* Delete the container: `docker rm dokuwiki`
186
183
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
187
184
* You can also remove the old dangling images: `docker image prune`
188
185
189
186
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
187
+
190
188
* Pull the latest image at its tag and replace it with the same env variables in one run:
191
-
```
189
+
190
+
```bash
192
191
docker run --rm \
193
192
-v /var/run/docker.sock:/var/run/docker.sock \
194
193
containrrr/watchtower \
195
194
--run-once dokuwiki
196
195
```
196
+
197
197
* You can also remove the old dangling images: `docker image prune`
198
198
199
199
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
203
204
204
205
## Building locally
205
206
206
207
If you want to make local modifications to these images for development purposes or just to customize the logic:
0 commit comments