Docker container for creating encrypted volumes.
1.5K
Creates encrypted volume file and gives mapper device as a result.
First create container with encrypted file inside.
docker run -it --name lukscrypter_data skopciewski/lukscrypter create 1G
Then start or stop devie assigned to that volume.
docker run -it --rm --volumes-from lukscrypter_data --privileged skopciewski/lukscrypter start
docker run -it --rm --volumes-from lukscrypter_data --privileged skopciewski/lukscrypter stop
For command:
create: <size> [<cryptsetup params>]start: [<device_name>] [<cryptsetup params>]stop: [<device_name>]If you want to execute other command, run docker container with escto as first param:
docker run -it --rm --volumes-from lukscrypter_data --privileged skopciewski/lukscrypter escto bash
Optionally, you can set VOLUME_DIR and VOLUME_NAME env vars to customize the volume file path.
Use -v <your dir for storing volume>:<VOLUME_DIR> to store volume file on host.
Content type
Image
Digest
Size
5 MB
Last updated
about 5 years ago
docker pull skopciewski/lukscrypter