-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow fine grained excludes configuration for Mutagen volume mounts #4621
Comments
@djs55 Is this option available in the Mutagen config file? |
In more recent development builds e.g.https://desktop-stage.docker.com/mac/edge/45494/Docker.dmg (discussed originally in the context of symlinks #4595 (comment) ) it's possible to add paths to ignore to the global mutagen config file e.g.
Thanks for the suggestions about |
Thanks for the quick response @djs55 ! Had a look at the comment you linked. Does that mean that Docker Desktop will use the |
@majames yes, in the recent development build I linked Docker Desktop will use the |
Does the latest edge (2.3.2.0) use the I've tried all sorts of combinations to try to ignore some paths and they are still being sync'd across.
sync:
defaults:
ignore:
paths:
- "/gomo/authoring/app/public/logs"
- "app/public/logs"
- "/app/public/logs"
- "app/public/logs/"
- "/app/public/logs/"
vcs: true And the file share path in docker config sync'd is: I restart docker after changing this file as I don't know when the mutagen config is used by docker. Not sure where I am going wrong? |
@Wilkolicious I was just also playing around with the ignore paths. I'd recommend to read the mutagen documentation If you want your path
Afterwards disable and enable the sync again (at least this helped for me). |
There's a new experimental build which adds support for |
We have just released Desktop Edge 2.3.3.2, which adds support for the |
Hi @stephen-turner @djs55. |
Mutagen ignores don't work for me with latest Edge 2.3.4.0 (46980) (tried both ~/.mutagen.yml and .dockerignore). Struggled with this for a while, then installed the 46638 version from @djs55 link above and it works. Regression? Is it supposed to work with the latest Edge? |
I think the feature was updated in later versions, and now looks at a |
Thanks, just read the changelog and noticed the |
Ah, yes, it's in the release notes for v2.3.4.0 https://github.com/docker/docker.github.io/blob/9050cd471791a8e7c393ac1986f36c103183abc3/docker-for-mac/edge-release-notes.md#docker-desktop-community-2340 |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Hi! I was really excited to see the announcement at DockerCon that Docker for MAC will now support Mutagen for more performant host volume mounting! We actually built a tool at the organisation I work out that does something very similar (using Watchman and
docker cp/rm
under the hood).One killer feature that is currently missing is the ability to specify fine-grained excludes for the file sync list. I notice that there is limited support for excludes by creating a docker volume, however our mono-repo is quite large and contains many generated nested directories and, therefore, creating an individual volume for each of them is infeasible.
Are there plans to implement functionality that allow users to specify fine-grained includes/excludes? Something similar to a
dockerignore
or Watchman expressions would be great!The text was updated successfully, but these errors were encountered: