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
Copy file name to clipboardExpand all lines: README.md
+26-1
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ TLDR: Multi-arch support is changing from multiple repos to one repo per contain
26
26
[](https://microbadger.com/images/linuxserver/bookstack"Get your own version badge on microbadger.com")
[Bookstack](https://github.com/BookStackApp/BookStack) is a free and open source Wiki designed for creating beautiful documentation. Feautring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.
31
33
@@ -40,6 +42,8 @@ For more information on BookStack visit their website and check it out: https://
40
42
41
43
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list).
42
44
45
+
Simply pulling `linuxserver/bookstack` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
46
+
43
47
The architectures supported by this image are:
44
48
45
49
| Architecture | Tag |
@@ -48,6 +52,7 @@ The architectures supported by this image are:
48
52
| arm64 | arm64v8-latest |
49
53
| armhf | arm32v6-latest |
50
54
55
+
51
56
## Usage
52
57
53
58
Here are some example snippets to help you get started creating a container.
@@ -127,6 +132,7 @@ In this instance `PUID=1001` and `PGID=1001`, to find yours use `id user` as bel
@@ -140,7 +146,7 @@ Once the MariaDB container is deployed, you can enter the following commands int
140
146
from shell: mysql -u root -p
141
147
CREATE DATABASE bookstackapp;
142
148
GRANT USAGE ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword';
143
-
GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@'%';
149
+
GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@%;
144
150
FLUSH PRIVILEGES;
145
151
```
146
152
@@ -174,6 +180,25 @@ Some simple docker-compose files are included for you to get started with. You w
174
180
* image version number
175
181
*`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/bookstack`
176
182
183
+
## Updating Info
184
+
185
+
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
186
+
187
+
Below are the instructions for updating containers:
188
+
189
+
### Via Docker Run/Create
190
+
* Update the image: `docker pull linuxserver/bookstack`
191
+
* Stop the running container: `docker stop bookstack`
192
+
* Delete the container: `docker rm bookstack`
193
+
* Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
194
+
* Start the new container: `docker start bookstack`
195
+
* You can also remove the old dangling images: `docker image prune`
196
+
197
+
### Via Docker Compose
198
+
* Update the image: `docker-compose pull linuxserver/bookstack`
199
+
* Let compose update containers as necessary: `docker-compose up -d`
200
+
* You can also remove the old dangling images: `docker image prune`
0 commit comments