Despite what other may say, what mbbransc said above is accurate. There are a couple pages in
Yeast that go into specific containers that are considered the best choices for storing yeast slurry. The best container recommended by Chris White is a stainless bucket with lid that fits over the rim of the bucket as it will keep airborne dust/particles out yet allow the venting of co2 which,
when allowed to, will continue venting for quite a long time. Both the carbon dioxide
AND the pressure inside a sealed container is detrimental to yeast cells. Granted, at the homebrew scale I think a bucket might be a bit overkill

; however, something that can mimic the effects would suffice.
Sealed glass mason jars are not considered an optimal choice by Chris White due to the potential glass explosion factor and because of the screw-on lid. He states:
"If you use any vessel with a screw-on lid, leave the lid loose. Engage
only the first couple threads, which allows any pressure to escape
easily, but is secure enough that the lid will not fall off. In all cases you
can gain some additional protection by covering the top of the container
with a piece of aluminum foil." [White 2010:157-158]
You want to find out how much pressure/co2 is stored inside your tightly sealed jar? Shake it up, give 2 seconds, and try pushing down on the lid

.
DON'T ACTUALLY DO THIS UNLESS YOU'RE PROTECTED.