I'd like to use fscrypt within a Linux Container (LXC) to encrypt a directory therein. I'm finding that the user space util, fscrypt does not like the fact that it is containerized. For example, I start the container and ssh into it:
# fscrypt setup
Defaulting to policy_version 2 because kernel supports it.
Customizing passphrase hashing difficulty for this system...
Created global config file at "/etc/fscrypt.conf".
[ERROR] fscrypt setup: /: not a mountpoint
Is there something I can modify with my config or via passing a switch upon setup or is this something that needs to be handled within my LXC config?