The container in Works and Days is a pithos, the kind of large jar that could hold provisions for a household. To picture its substantial lid being lifted is already to enter a different story from the familiar image of a little box. The poet is explaining to his brother Perses why human beings must work so hard to live.
Zeus orders the making of a woman after Prometheus has stolen fire. Several gods contribute gifts to her appearance, skills and manner of speech. Prometheus has warned his brother Epimetheus against accepting gifts from Zeus. Epimetheus takes Pandora in and understands the consequences only afterwards. When she opens the jar, troubles disperse among human beings. Diseases can visit without announcing themselves.
One thing remains inside when the lid comes down: Elpis, usually translated as Hope or Expectation. A storage jar keeps its contents safe, but it can also keep them out of reach. Hesiod describes exactly where Elpis rests, beneath the rim, without settling for his readers which of those two possibilities to choose.