Storage on Docker
By default, all the files created inside a container are stored on a writable container layer. This means:
- the data is not persistent
- You can’t easily move the data somewhere else

Storage types:
- volumes - prefered
- bind mounts
- tmpfs mount
Example:
docker run -v path/on/host:/app nginx:latest