How to confine particles within a volume?
Duplicate your main volume in place
Remove the particle system from the main volume
Scale down the duplicate so that the particles fit into the main volume
make sure to turn Show Emitter off in the Particle Settings panel