Mason Jars Work Great!
As long as you don’t keep them air tight. Over time, yeast will still produce small amounts of Co2. This buildup, in such a small space, can happen quickly and doesn’t take much gas to build up a considerable amount of pressure. Fortunately for myself, I haven’t had an explosion, but I have noticed a lot of my jars started to pop the top.