That should work quite well. I use a canning jar with the separate replaceable dome lid and the screw band top. loosen the lid when heating and the dome will reseal as the stuff cools and then tighten the band cap snug but not tight.
Attachment 141276
~Richard