leighmcculloch / docker-unison

A docker data container using Unison for fast folder sync. An alternative to slow boot2docker volumes on OS X.
GNU General Public License v3.0
167 stars 26 forks source link

Macosx Sierra - unison version 2.48.4 & ocaml 4.0.3 #18

Open vgiannoul opened 7 years ago

vgiannoul commented 7 years ago

In mac osx Sierra brew installs unison version 2.48.4 & ocaml 4.0.3. I already tried to change Dockerfile in order to change versions with no success. Probably there is something I miss. How easy is it to have a version of docker-unison image build with these versions? Thanks for the nice work

leighmcculloch commented 7 years ago

Ah, thanks for reporting this. I'll publish a new image with that combination.

leighmcculloch commented 7 years ago

@vgiannoul: I've published a Dockerfile and image on Docker Hub that has the versions in it. Are you able to test that it works with the version you have installed with brew macOS Sierra? The docker image tag is test-unison2.48.4-ocaml4.03

vgiannoul commented 7 years ago

Thank you very much @leighmcculloch. Sorry for late response. I just tried the docker hub image and it seems to fail when I try to connect with my local client with "Fatal error: Lost connection with the server".

leighmcculloch commented 7 years ago

I forgot to include the new version of unison in the builds, so the image build was incomplete and didn't have unison installed. I've published a new image. Could you give it a whirl again? You'll need to delete the image that was downloaded before as it has the same name, to get your docker daemon to redownload it.

leighmcculloch commented 7 years ago

If this doesn't work I'll get an environment setup with the versions to debug what's going on.

leighmcculloch commented 7 years ago

@vgiannoul: Want to give it another shot?

leighmcculloch commented 7 years ago

@vgiannoul: Did #19 it work?

vgiannoul commented 7 years ago

hello @leighmcculloch. Thanks for your work. In the meantime I switched my local setup to docker-sync which seems to be stable so I haven't managed to test your setup. Thanks again