Chapter 2: Working with Docker Data
At one time, containers were used for stateless workloads that could scale up, scale quickly, and move from one location to another without impacting the workload. Stateless workloads limit the type of containers you can run, prohibiting you from running anything beyond items that are stored in the base image.
In this chapter, we will cover the following topics:
- Why you need persistent data
- Docker volumes
- Docker bind mounts
- Docker tmpfs mounts
Let's get started!