Browse Source

added todos && docker run cmd

Fabian Peter Hammerle 5 years ago
parent
commit
e9b5577f71
3 changed files with 9 additions and 0 deletions
  1. 1 0
      Dockerfile
  2. 7 0
      README.md
  3. 1 0
      mount.sh

+ 1 - 0
Dockerfile

@@ -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"]

+ 7 - 0
README.md

@@ -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 ?
+```

+ 1 - 0
mount.sh

@@ -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