Glass jars are a standard size and shape, and have a 15 cent deposit, redeemable at the collection machines in the front of the store that also handles other glass and single -use plastic drink bottles.
That’s how it works in Germany, but there are plenty of yoghurts sold in non-deposit plastic, for which the seller has to pre-pay the disposal fees.