Yes, it is crucial to create a small ventilation hole in the container to allow the release of carbon dioxide gas produced by the dry ice.