Start here. This is the direct spoken answer to practice first.
Why this question matters
The container's writable layer is tied to that instance and can disappear on replacement. Durable business data must live in a database, object store, or deliberately managed persistent volume.
Durable business data belongs in a database, object store, or deliberately managed persistent volume rather than the container's writable layer. Application logs normally go to stdout and stderr so the platform can collect, index, retain, and rotate them. User uploads usually belong in object storage when replicas need shared access. Temporary files can use an explicit ephemeral directory with quotas and cleanup. A local cache is acceptable only when losing it is safe and each replica can rebuild it.