Summary
In this chapter, we took a deep-dive into Docker volumes. We learned what Docker volumes actually are, along with a few ways to create them. We learned the differences between creating Docker volumes with the volume create command, with the container run command, and the Dockerfile VOLUME instruction. We looked at a couple of ways to remove volumes, and how to use a data container to share volumes with other containers. All in all, you should feel pretty confident in your Docker volume skills right now. So far, we have built a strong base of Docker knowledge.
In Chapter 5, Docker Swarm, we are going to add to that base by learning about Docker Swarm. This is where things will really start to get exciting. If you are ready to learn ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access