I have instances for different purposes (asterisk/hostapd/samba etc) .
Any change in rootfs (e.g. apt update/upgrade, fail2ban updates) should be visible in the instances.
In lxc , I can use lxc-clone and provide a configuration like
Hi, is there any recommended way of sharing the rootfs?
Is there a docker like (“FROM” Keyword) way of inheriting an parent container/storage and adding some changes?
I am thinking of, making up my own rootfs (merged view) from overlayfs?
I have instances for different purposes (asterisk/hostapd/samba etc) .
Any change in rootfs (e.g. apt update/upgrade, fail2ban updates) should be visible in the instances.
@stgraber Would the proposed btrfs/zfs solution “forward” an update of the common rootfs into all instances based on the the common rootfs?
No it wouldn’t as the “copy” would be a snapshot that diverges from the original source, and changes to the source would not be reflected in the snapshot.