🎁 New User? Get 20% off your first purchase with code NEWUSER20 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

ELK Stack
A popular log management platform combining Elasticsearch (search), Logstash (processing), and Kibana (visualization).
CI/CD
Continuous Integration and Continuous Deployment — automated practices for building, testing, and deploying code changes.
Rolling Update
A deployment strategy that gradually replaces old application instances with new ones, maintaining availability throughout.
Service Discovery
A mechanism that automatically detects and tracks the network locations of service instances in distributed systems.
YAML
A human-readable data serialization language commonly used for configuration files in DevOps tools and applications.
Containerization
A lightweight virtualization method that packages applications with their dependencies into isolated, portable containers.
View All DevOps Terms →