From 221cadc8001bf6e3db7054bd51399dff98083867 Mon Sep 17 00:00:00 2001 From: toastie89 Date: Sun, 16 Sep 2018 23:55:16 +0200 Subject: [PATCH] Added comment about additional parameters needed for FUSE mounts. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c2e12fc..7c0ac3f 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,14 @@ docker run -d \ -v /srv/borgmatic/cache:/cache \ b3vis/borgmatic ``` +While the parameters above are sufficient for regular backups, following additional privileges will be needed to mount an archive as FUSE filesystem: +``` +--cap-add SYS_ADMIN \ +--device /dev/fuse \ +--security-opt label:disable \ +--security-opt apparmor:unconfined +``` +Depending on your security system, `--security-opt` parameters may not be neccessary. `label:disable` is needed for *SELinux*, while `apparmor:unconfined` is needed for *AppArmor*. ### Layout