Docker Volumes and Bind Mounts
Storing persistent data in containers needs special storage. There are two options — volumes or bind mounts.
By default, all files created inside a container are stored on a writable container layer. This means that:
- The data doesn’t persist when that container no longer exists, and it can be difficult to get the…