Chapter 50: Docker Volumes and Storage: Named Volumes, Bind Mounts, tmpfs, Backup and Every Volume Command
When a container is gone, its data is gone too. Volumes stop that. Today we cover named volumes, bind mounts, tmpfs, backup and restore, all the way to EFS.
Container गेला तर data पण जातो. ते थांबवण्यासाठी volume. आज named volume, bind mount, tmpfs, backup-restore आणि EFS पर्यंत सगळं बघूया.
Container गया तो data भी जाता है. उसे रोकने के लिए volume. आज named volume, bind mount, tmpfs, backup-restore और EFS तक सब देखेंगे.
What you will learn in this chapter
- Why container data disappears
- Named volumes, bind mounts and tmpfs
- Backup and restore a volume
- NFS/EFS volumes
- Every docker volume command
All Docker commands in one place
Every docker command step by step on one running example (build, run, exec, logs, volumes, networks, Compose, cleanup) with a cheat sheet: All Docker Commands Step by Step with Examples
Concepts in this chapter
- 50.1Why data disappears and the three storage types
- 50.2Named volumes in depth
- 50.3Bind mounts for development
- 50.4tmpfs mounts for secrets and scratch space
- 50.5Backup and restore a volume
- 50.6Volume drivers: NFS, EFS and plugins
- 50.7Every docker volume command: full reference
The chapter recap is at the end of the last concept page.
Ravi Sir's Cards: 17 revision, interview and comparison cards for this chapter · मराठी cards