@@ -17,4 +17,5 @@ RUN mkdir -p \
$ENCFS_MOUNT_POINT \
$(dirname $ENCFS_CONFIG_PATH) \
&& chmod +x /mount.sh
+# TODO run as unprivileged user
CMD ["/mount.sh"]
@@ -0,0 +1,7 @@
+```sh
+# TODO remove --privileged
+# TODO remoge --userns
+# TODO add image name
+docker run --rm -it -v plain-data:/source/plain \
+ --device /dev/fuse --privileged --userns host ?
+```
@@ -43,4 +43,5 @@ if [ ! -f "$ENCFS_CONFIG_PATH" ]; then
fi
export ENCFS6_CONFIG="$ENCFS_CONFIG_PATH"
+# TODO grant access to other users / containers (--public / -o allow_other)
mount_encfs -f