Skip to content
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

Why not using unison only in docker #21

Open
obriat opened this issue Mar 19, 2019 · 2 comments
Open

Why not using unison only in docker #21

obriat opened this issue Mar 19, 2019 · 2 comments

Comments

@obriat
Copy link

obriat commented Mar 19, 2019

Why using a client/server between the host and docker ?
Unison could be launched inside the docker, synchronising an host mounted volume with your code and the internal app folder, or am I missing something ?

@onnimonni
Copy link
Owner

This was for a period of time where direct host mounted volumes were extremely slow in MacOS.

I currently recommend using the :cached flag for mounted volumes in OSX so the Unison is not needed at all. You can read more about the flag over here: https://docs.docker.com/docker-for-mac/osxfs-caching/

@scytacki
Copy link
Collaborator

I haven't tried cached in a few months, but it was still too slow for us the last time I tried.

@obriat if I understand your comment right, it sounds like you are talking about what I did with this project: https://github.com/concord-consortium/docker-volume-sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants