You should avoid putting liquids in glass containers if you're planning to freeze them. This is because the liquid will expand as it freezes and cause the glass to break. You can use a plastic container instead and just transfer your food to it once it's frozen.
The expansion of the liquid will put pressure on the glass and can cause it to crack or shatter. It's also important to note that some plastics are not designed for freezing at all, so make sure you check the packaging before putting your food in a plastic container!
When food freezes in a glass container, it expands. The glass container is not strong enough to hold the expanding food and can break. Food can spill out of the broken glass container and contaminate other foods in your freezer (and possibly your entire house). If you want to freeze food in a glass container, make sure that it is freezer-safe by checking for this symbol:
Leaving space for your food to expand in the freezer is critical. Glass containers are very strong, but they can still break if you don't give them room to grow. If you want to maximize your storage capacity, leave at least 1/2 inch between the top of your food and the lid, and at least 1/2 inch between the top of your food and the top of the container itself. Even better, leave at least 1/4 inch between all three points for extra protection against breakage.#ENDWRITE
You must leave space for the food to expand when you freeze it in a glass container.
So, if you plan on freezing your food at all, it's best to use plastic or aluminum containers instead of glass. If you do freeze your food in a glass container and it breaks, don't worry! Simply put everything into another freezer safe container (like our Tritan plastic tubs) until there is enough room for us to ship out replacements!
In summary, it is safe to freeze food in glass containers as long as you take the right precautions. You should avoid freezing liquids in glass containers and make sure there is plenty of room for food items to expand during freezing.