๐ŸŽ 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

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.
Prometheus
An open-source monitoring and alerting toolkit that collects time-series metrics using a pull-based model.
Container Orchestration
The automated management of containerized applications including deployment, scaling, networking, and health monitoring across clusters.
Blue-Green Deployment
A deployment strategy using two identical environments where traffic is switched from the old version to the new one instantly.
Helm
A package manager for Kubernetes that simplifies deploying and managing applications using reusable, configurable charts.
View All DevOps Terms โ†’