[lxc-users] putting vm into an encrypted container

U.Mutlu for-gmane at mutluit.com
Fri May 1 14:07:50 UTC 2015


Here's a method to place an lxc vm into an encrypted container file
(for example a truecrypt file image) on a linux system:

[step 0: create the vm the normal way]
step 1: move the vm from /var/lib/lxc/vmX to the encrypted container
         (but first check the free space in the container)
step 2: symlink back to /var/lib/lxc/vmX
step 3: start as usual with lxc-start -n vmX

Advantage: the whole container (and the vmX therein) is encrypted...



More information about the lxc-users mailing list