---
title: "Discussion on \"DAY 4 — Docker Volumes (Persist Data Like a Pro)\" | Hashnode"
description: "Discussion on \"DAY 4 — Docker Volumes (Persist Data Like a Pro)\". ❓ Why Volumes Needed?\nDefault container data temporary hota hai.\nExample:Agar aap MySQL container ke andar data create karte ho → container delete → data gone.\nIs problem ko solve karta hai → Volumes\n\n📌 Docker me 2 tarah ke volumes hote hain:\n1️⃣ Na..."
url: "https://hashnode.com/posts/day-4-docker-volumes-persist-data-like-a-pro/692c54c4ad3b0f2f946243ee"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [DAY 4 — Docker Volumes (Persist Data Like a Pro)](https://surajcode.hashnode.dev/day-4-docker-volumes-persist-data-like-a-pro?utm_source=hashnode&utm_medium=feed)

❓ Why Volumes Needed? Default container data temporary hota hai. Example:Agar aap MySQL container ke andar data create karte ho → container delete → data gone. Is problem ko solve karta hai → Volumes 📌 Docker me 2 tarah ke volumes hote hain: 1️⃣ Na...

Nov 30, 2025 · 3 min read · surajcode.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#docker-compose](https://hashnode.com/tag/docker-compose)
-   [#dockerfile](https://hashnode.com/tag/dockerfile)
-   [#docker-network](https://hashnode.com/tag/docker-network)

## Written by

[Suraj Choudhary](https://hashnode.com/@surajwebdev)

@surajwebdev · Odisha, India

  
[View profile](https://hashnode.com/@surajwebdev)

Software Developer

Who is a highly motivated and results-oriented Software Engineer with a passion for crafting robust and user-friendly web applications. Possesses strong expertise in both backend development and full-stack development, leveraging a diverse skillset to design, develop, and deploy scalable software solutions.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
