From 49c86398a557856fb202c449790d0b4afffb1182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sat, 19 Aug 2017 13:18:32 +0200 Subject: Change docker documentation regarding the database permissions fix #3290 --- docker/biboumi/alpine/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/biboumi/alpine/README.md b/docker/biboumi/alpine/README.md index 4b9e1e5..806bdc5 100644 --- a/docker/biboumi/alpine/README.md +++ b/docker/biboumi/alpine/README.md @@ -61,8 +61,9 @@ Volumes The database is stored in the /var/lib/biboumi/ directory. If you don’t bind a local directory to it, the database will be lost when the container is stopped. If you want to keep your database between each run, bind it with the -v option, like this: **-v /srv/biboumi/:/var/lib/biboumi**. -Note: Due to a limitation in Docker, to be able to read and write into this database, make sure this mounted directory is owned by UID and GID 1001:1001, on the host. +Note: Due to a limitation in Docker, to be able to read and write into this database, make sure this mounted directory has the proper read and write permissions on the host: it can be owned by UID and GID 1000:1000, or use chmod to give permissions to everyone, for example. ``` -chown -R 1001:1001 database/ +chown -R 1000:1000 database/ +chmod 777 database/ ``` -- cgit v1.2.3