Depends on how much pressure needs to build before the container can't take anymore. For soda bottles, it takes a while, since they're pretty durable and the cap doesn't just pop off. I'm not really sure how well a milk jug would work, since even the screw on cap milk jugs aren't all that well sealed, at least not when compared to a soda bottle.