<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk" -->

---
title: Say Goodbye to Docker Volumes 👋 | daily.dev
description: Learn how to use Docker Compose Watch to automatically synchronize local source code with code in a Docker container without using volumes. Discover different...
canonical: https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Say Goodbye to Docker Volumes 👋 | daily.dev
og:description: Learn how to use Docker Compose Watch to automatically synchronize local source code with code in a Docker container without using volumes. Discover different...
og:url: https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk
og:image: https://api.daily.dev/og/posts/rKqtp4kSk.png
og:image:alt: Say Goodbye to Docker Volumes 👋
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Say Goodbye to Docker Volumes 👋

**[Community Picks](https://daily.dev/sources/community)** · 4 min read · 413 upvotes · 4 comments

## Summary

Learn how to use Docker Compose Watch to automatically synchronize local source code with code in a Docker container without using volumes. Discover different actions that can be used with the watch attribute and be aware of the caveats of using this feature.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/code42cate/say-goodbye-to-docker-volumes-j9l>

## Community discussion

Top comments from developers on daily.dev.

**@ehsan18** · 1 upvotes

> Could be a game changer and we might be one step closer to development within containers.

**@stickhunter** · 1 upvotes

> I do think development throughout Remote containers in VSC is still the best option. You jump into container and work like locally, your terminal works inside container too, so you can install any tool you want and do not mess up your host pc. But yeah, watch is good step forward. Thanks for article!

**@maximilianharr** · 0 upvotes

> can s.o. explain the benefit of "watch" w.r.t "volumes" for code sync?

**@gustavohernandez** · 0 upvotes

> Initially for my work it is a good solution because managing storage resources becomes tedious, because it is very complicated to provision storage. Let my future self take care of the consequences of this implementation.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#docker](https://daily.dev/tags/docker), [#docker-compose](https://daily.dev/tags/docker-compose)

[View this post on daily.dev](https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Say Goodbye to Docker Volumes 👋","url":"https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk"},"datePublished":"2024-05-02T14:22:55.646Z","dateModified":"2024-05-09T09:28:18.744Z","description":"Learn how to use Docker Compose Watch to automatically synchronize local source code with code in a Docker container without using volumes. Discover different...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/da19a22763b6148958614664a787c98e?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/da19a22763b6148958614664a787c98e?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":4,"discussionUrl":"https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":413},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":4}],"keywords":"docker,docker-compose","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Say Goodbye to Docker Volumes 👋"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/say-goodbye-to-docker-volumes--rkqtp4ksk","comment":[{"@type":"Comment","text":"Could be a game changer and we might be one step closer to development within containers.","datePublished":"2024-05-09T19:20:12.871Z","url":"https://daily.dev/posts/rKqtp4kSk#c-Twn4wuHif","author":{"@type":"Person","name":"Muhammad Ehsan ul Haq","url":"https://daily.dev/ehsan18","image":"https://lh3.googleusercontent.com/a/ACg8ocK4D66PmD3wlSKMK3vEPO5XKgBKghKEWrgMZpga3tDCrvSk9A=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"I do think development throughout Remote containers in VSC is still the best option. You jump into container and work like locally, your terminal works inside container too, so you can install any tool you want and do not mess up your host pc. But yeah, watch is good step forward. Thanks for article!","datePublished":"2024-05-13T20:09:19.016Z","dateModified":"2024-05-13T20:11:01.421Z","url":"https://daily.dev/posts/rKqtp4kSk#c-DJm9AJL6m","author":{"@type":"Person","name":"Stick Hunter","url":"https://daily.dev/stickhunter","image":"https://lh3.googleusercontent.com/a/ACg8ocLvoZcfzJkjlpCPndrAaCaLG1_b7ondMv5d3_vvTdtbMsnZ2W2n=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"can s.o. explain the benefit of “watch” w.r.t “volumes” for code sync?","datePublished":"2024-05-30T11:24:46.930Z","url":"https://daily.dev/posts/rKqtp4kSk#c-YrJRRwGZM","author":{"@type":"Person","name":"Maximilian Harr","url":"https://daily.dev/maximilianharr","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"}},{"@type":"Comment","text":"Initially for my work it is a good solution because managing storage resources becomes tedious, because it is very complicated to provision storage. Let my future self take care of the consequences of this implementation.","datePublished":"2024-06-27T02:43:13.708Z","url":"https://daily.dev/posts/rKqtp4kSk#c-2pGklALU1","author":{"@type":"Person","name":"Gustavo Hernandez","url":"https://daily.dev/gustavohernandez","image":"https://avatars.githubusercontent.com/u/42453278?v=4"}}]}
```

