Member-only story
DevOps In 90 Days by Karthick Dkk
Day 22: Docker Volumes and Networking Types — Deep Dive
Basics of Volumes and Networks in Dockers Containers
Welcome to Day 22 of our DevOps journey! In this blog, we will explore the types of Docker Volumes and Networks in very detail.
What are Docker Volumes?
A volume is a persistent storage mechanism for Docker containers. By default, data stored in a container is lost when the container is deleted. Volumes solve this problem by storing data outside the container’s file system, which can be reused across container restarts.
Why Use Volumes?
- Persistence: Volumes persist even after containers are stopped or removed.
- Data Sharing: Volumes allow data to be shared between containers.
- Backup & Restore: Volumes are ideal for making backups of data or restoring it.