Docker Community Forums

Share and learn in the Docker community.

Luks encryption for a docker container

Hi all,

Is there a way to secure the information inside a docker container so that the files are not accessible for the root engineer without accessing the docker container?

I am trying to make a secure container database so that the database can only access the database files.
Is there a way to attach a block device on a Linux container and inside the container I would like to mount the device with a encryption key only knows by the container?

I found only some documentation on docker-lvm-plugin but I can not get it up and running with docker 18.9

Kindly regards,

Han