containers / docker-lvm-plugin

Docker volume plugin for LVM volumes
GNU Lesser General Public License v3.0
155 stars 64 forks source link

Question: encrypted volumes and passphrase #56

Closed leshik closed 6 years ago

leshik commented 6 years ago

Hello,

I'm looking for some workflow that I could use to mount the encrypted volumes once containers are started (or the host is restarted). I don't want to store the key file anywhere on the host even temporarily as it would compromise the security. Ideally, I would enter the passphrase on containers (re)start.

Any suggestions on how this behavior could be achieved?

leshik commented 6 years ago

I've just realized that I can use named pipe as a key file. This will work for now.