September 5, 20241 yr Hi all, Has anyone succeeded in getting gocryptfs to run in a container to provide encryption of individual folders on the host? I've come so far as I can spin upp the container, and encryption is working as long as I access the file system directly on the host. If I access them via shares I get permission denied and I can't chown/chmod as root on the host ("Operation not permitted"). I assume it's because it goes via the container and the Second problem is that after I stop the container, the subdirectories on the decoded directory becomes inaccessible, with "transport endpoint is not connected". This also affects the container which can't restart until I've manually done "umount" on all subdirectories. I'm using https://github.com/OJFord/docker-gocryptfs, and have added some extra parameters: --cap-add SYS_ADMIN --device /dev/fuse Encrypted volume mapped /mnt/user/crypt/test -> /crypt/test, access mode Read/Write. Decrypted volume mapped /mnt/user/test /mnt, access mode Read/Write - Shared. Thanks, A
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.