How to store canned food. To keep food from spoiling, it must be stored in appropriate, sealed containers and kept in a climate-controlled environment. To avoid being attacked by pests such as rodents, containers must be extremely resilient. Plastic and even cement can be chewed by rats. This problem can be avoided by using metal, food-grade containers. Pests are attracted to garages because they are hunting for food and want to escape the cold during the winter. Even when food is stored in cans and glass jars, temperature variations that drop below freezing in the winter and climb in the summer will damage it. Extreme temperatures can cause jars to crack and cans to burst.