You would install Ubuntu on ext4 as normal.
In another partition you would format as ZFS and keep there the containers. In fact, you can keep the partition unformatted and lxd init
will format for you.
1 Like