Secure remote storage using sshfs and encfs
- save local copy of docker-compose.yml and .env
- customize .env to define ENCFS_PASS (encryption password) and SSHFS_PASS (root password)
- docker-compose -f docker-compose.yml up -d
- run client container (e.g. debian:jessie with sshfs installed) and commnd sshfs encfs_encfs_1:/data /mnt
- create /mnt/file and check encypted file under host directory ./raw
- docker run --privileged -v $HOME/.raw:/root/.raw -it twhtanghk/encfs bash
- mkdir ~/crypt; encfs ~/.raw ~/crypt