In this chapter, you will learn about storage and mounting volumes for stateful Docker containers and Kubernetes pods. For the Docker containers, there are two types of volumes, the persistent and the ephemeral. Also, there is a data volume. Moreover, there is a crucial difference between saving the data on volumes and using the filesystem when committing the containers to images.
How to create a persistent volume for a stateful ...