Since OpenZFS 2.2 there are zfs zone/unzone commands that can allow a container to manage specific mounted datasets. It also requires dev/zfs to be mounted in container with device added to lxc config.
This can be probably implemented with lxc hooks, but would be best to support natively like Incus does.
This can be probably implemented with lxc hooks, but would be best to support natively like Incus does.