No, the ice cream will not explode if you put it in the freezer in a glass container wrapped with a plastic cover. Freezing ice cream made with heavy cream is a common practice, and as long as the container is freezer-safe and not overfilled, it should be perfectly fine.
However, there are a few things to keep in mind when freezing ice cream:
Container choice: Ensure that the glass container you are using is specifically designed for freezer use. Not all glass containers are suitable for freezing, as the liquid inside expands when frozen and can cause non-freezer-safe glass to crack or shatter.
Leave room for expansion: Ice cream expands as it freezes, so it's important to leave some headspace in the container to accommodate this expansion. Overfilled containers may crack or break due to the pressure exerted by the expanding ice cream.
Proper sealing: It's good that you wrapped the container with plastic cover, as this helps to prevent air and moisture from reaching the ice cream, which can cause freezer burn. Make sure the container is tightly sealed to maintain the ice cream's texture and flavor.
By following these guidelines, you can safely freeze ice cream without the risk of explosion or any major issues.