Both metal and plastic containers can be effective if they have a secure airtight seal and are made from food-grade materials.