Docker Storage

Level : Intermediate
Mentor: Shailendra Chauhan
Duration : 00:01:00

Docker Storage

Containers, as opposed to images, store data in writable layers. When a container is erased, the readable layer is removed, leaving the underlying image intact. Docker volumes enable data exchange between containers, maintaining consistency and accessibility across deployments.

Container R/W Layer

When we construct a Docker container, we add a read-write (R/W) layer on top of the image's read-only (R/O) layer. This prepares the container to run the programme by pulling the image, setting the environment variables, configuring the entry point, and so on.


Docker Volumes Use Case​

Docker volumes are helpful when you run a database as a container for storing your data.​

Self-paced Membership
  • 22+ Video Courses
  • 800+ Hands-On Labs
  • 400+ Quick Notes
  • 55+ Skill Tests
  • 45+ Interview Q&A Courses
  • 10+ Real-world Projects
  • Career Coaching Sessions
  • Email Support
Upto 60% OFF
Know More
Still have some questions? Let's discuss.
CONTACT US
Accept cookies & close this