Shared directory between LXD containers?

You can create the shared directory on the host and then expose it to all the necessary containers with lxc device add ... disk ... (gets bindmounted).

If you create many such containers, you can add that instruction to a profile so that it gets added automatically to newly created containers.