Docker offers three persistence mechanisms
| Type | Stored at | Best for |
|---|---|---|
| Named volume | Docker-managed area on host (/var/lib/docker/volumes/) | Production data, databases, anything Docker should own |
| Bind mount | Any path on the host filesystem | Development (mount your source, hot-reload), config files, shared dirs |
| tmpfs mount | RAM (host memory) | Secrets, fast scratch space, anything that should never touch disk |