Chapter Summary
Summary of the concepts covered in this chapter.
There are two main types of data: persistent and non-persistent.
Persistent data is data you need to keep, and non-persistent data is data you don’t need to keep.
By default, all containers get a layer of writable, non-persistent storage that lives and dies with the container. We sometimes call this local storage, and it’s ideal for non-persistent data. However, if your apps create data you need to keep, you should store the data in a Docker volume.
Get hands-on with 1300+ tech skills courses.