I prefer using Fido/le parfait/kilner style jars with the volcanic rubber seals and spring bails (I know my terminology is a bit off). They actually do exactly this naturally (off-gas, while being a one-way valve). And I use them for my ferments and my starter. They work amazing!
Of course if someone has tons of mason jars and isn’t looking to change their whole system.....