โดยค่าเริ่มต้น ข้อมูลใน container เป็นแบบ ชั่วคราว (ephemeral) — หายไปเมื่อ container ถูก remove Volume (และ bind mount) ให้ พื้นที่จัดเก็บแบบถาวร (persistent storage) ที่อยู่ได้นานกว่า container ซึ่งจำเป็นสำหรับฐานข้อมูลและข้อมูลใดๆ ที่ต้องอยู่รอดผ่านการ restart/remove ของ container
ปัญหา: container เป็นแบบชั่วคราว
A container's writable layer is DELETED when the container is removed:
→ data written inside the container (e.g. a database's files) is LOST
→ containers are meant to be disposable/replaceable → don't store important data in them
→ For persistent data, you need storage OUTSIDE the container's lifecycle.
