2.8 evee - can I "mask" a mesh/material outside of a container (like a domain)?
This sound like a boolean modifier could help you.


Simplified setup, with a cube and a VolumeMesh.


Add a boolean modifier to the object which needs to be invisible outside of the volume. Choose the Intersect operation (default) and choose the VolumeMesh as the object of the modifier.