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

Andrey Repin anrdaemon at yandex.ru
Tue Jan 2 01:51:09 UTC 2018


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...



More information about the lxc-users mailing list