---
title: "Discussion on \"Docker Volumes vs Bind Mounts: Which to Use\" | Hashnode"
description: "Discussion on \"Docker Volumes vs Bind Mounts: Which to Use\". Originally published on DevToolHub.\n\n\nUse a Docker volume when the container owns the data, such as a database or a model cache. Use a bind mount when you need to edit the files on your host, such as"
url: "https://hashnode.com/posts/docker-volumes-vs-bind-mounts-which-to-use/6af1ce80e9418ba7290e8cb9"
---

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

Discussion

# [Docker Volumes vs Bind Mounts: Which to Use](https://devtoolhub.hashnode.dev/docker-volumes-vs-bind-mounts-which-to-use?utm_source=hashnode&utm_medium=feed)

Originally published on DevToolHub. Use a Docker volume when the container owns the data, such as a database or a model cache. Use a bind mount when you need to edit the files on your host, such as

2d ago · 10 min read · devtoolhub.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#docker](https://hashnode.com/tag/docker)
-   [#containers](https://hashnode.com/tag/containers)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Amaresh Pelleti](https://hashnode.com/@amareswer)

@amareswer

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
