Re: [systemd-devel] systemd-nspawn overlay and rootfs

2016-08-19 Thread Lennart Poettering
On Fri, 19.08.16 13:18, Juanjo Presa (juan...@gmail.com) wrote: > Ok, thanks for your reply. > > Any suggestion to achieve something similar? I'm trying with btrfs > subvolumes but I don't get to make union of /usr from OS subvolume with > /usr from runtime subvolume btrfs subvolumes and

Re: [systemd-devel] systemd-nspawn overlay and rootfs

2016-08-19 Thread Juanjo Presa
Ok, thanks for your reply. Any suggestion to achieve something similar? I'm trying with btrfs subvolumes but I don't get to make union of /usr from OS subvolume with /usr from runtime subvolume Nowadays I'm workarouding with: systemd-nspawn

Re: [systemd-devel] systemd-nspawn overlay and rootfs

2016-08-19 Thread Lennart Poettering
On Tue, 16.08.16 15:43, Juanjo Presa (juan...@gmail.com) wrote: > Hi, I'm trying to compose a container with several layers and join together > with overlay option but seems that is not supported. > > I want to get something like: > systemd-nspawn

[systemd-devel] systemd-nspawn overlay and rootfs

2016-08-16 Thread Juanjo Presa
Hi, I'm trying to compose a container with several layers and join together with overlay option but seems that is not supported. I want to get something like: systemd-nspawn --overlay=/foo/ubuntu-base:/foo/app-runtime:/foo/app:/ -D /foo/bar --boot Maybe I'm misunderstanding the overlay option.