[lxc-users] Share base OS with multiple containers like FreeBSD jails

Dave Smith dave.smith at candata.com
Tue Jan 2 08:43:31 UTC 2018


Have a look at the sshd template. This is pretty close to a jail ..


On Mon, Jan 1, 2018 at 8:51 PM, Andrey Repin <anrdaemon at yandex.ru> wrote:

> Greetings, Rajil Saraswat!
>
> > I have been used FreeBSD jails for some time and love the fact that the
> > same base image is shared with multiple jails. I was wondering if it is
> > possible to do the same with lxc/lxd (running on Gentoo). At the moment
> > lxd leads to lot of wasted space when using multiple containers since
> > each image requires a full blown base image.
>
> This is a question of an underlying storage backend.
> ZFS/BTRFS can save quite a lot of space, so do LVM.
>
> LESS=+/backingstore man lxc-create
>
>
> --
> With best regards,
> Andrey Repin
> Tuesday, January 2, 2018 04:48:47
>
> Sorry for my terrible english...
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180102/103b9138/attachment.html>


More information about the lxc-users mailing list