๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

DevOps Beginner

What is Docker Volume?

A mechanism for persisting data generated by Docker containers, surviving container restarts and removals.

Docker volumes decouple data storage from container lifecycles. Without volumes, all data inside a container is lost when it is removed. Volumes are stored on the host filesystem and managed by Docker. Types include named volumes (managed by Docker, portable), bind mounts (map host directories into containers), and tmpfs mounts (in-memory only). Named volumes are preferred for production โ€” they support volume drivers for remote storage (NFS, AWS EBS), can be shared between containers, and are backed up independently. Docker Compose defines volumes declaratively, and Kubernetes uses Persistent Volumes for similar functionality at scale.

Related Terms

Environment Variable
A dynamic value stored outside the application code that configures behavior without hardcoding sensitive or environment-specific data.
Semantic Versioning
A versioning scheme using MAJOR.MINOR.PATCH numbers that communicates the nature of changes in each release.
Terraform
An open-source tool for provisioning and managing cloud infrastructure using declarative configuration files.
Postmortem
A structured analysis conducted after an incident to understand what happened, why, and how to prevent recurrence โ€” without assigning blame.
Nginx
A high-performance web server and reverse proxy known for its stability, low resource usage, and ability to handle many concurrent connections.
Service Discovery
A mechanism that automatically detects and tracks the network locations of service instances in distributed systems.
View All DevOps Terms โ†’