Secara default, data ing container iku ephemeral — ilang nalika container diilangi. Volumes (lan bind mounts) nyedhiyakake persistent storage sing urip luwih dawa saka container, penting kanggo database lan data apa wae sing kudu tetep ana nalika container direstart utawa diilangi.
Problema: container iku ephemeral
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.
