Quick one-liner: Your containers are ephemeral. Your data shouldn't be. Learn Podman volumes and bind mounts — the two ways to make data survive container death.

Last time, you ran Redis and PostgreSQL. You inserted data, verified it worked, then stopped and removed the containers.

And Alice disappeared.

When a container dies, everything inside it — files, databases, configuration — dies with it. That's by design. Containers are ephemeral. They're meant to be disposable.

But your data isn't disposable. Your PostgreSQL database, your application files, your user uploads — they need to outlive the container that serves them.