In this chapter, we will cover how to keep your important data persistent, safe, and independent of your containers by covering everything about Docker volumes. We will go through various topics, including the following:
- Docker image internals
- Deploying your own instance of a repository
- Transient storage
- Persistent storage
- Bind-mounts
- Named volumes
- Relocatable volumes
- User and group ID handling
While we won't cover all the available storage options, especially ones that are specific to orchestration tooling, this chapter should give you a better understanding of how Docker handles data and what you can do to make sure it is kept in exactly the way you want it.