-
Notifications
You must be signed in to change notification settings - Fork 61
Unison installation
roscopecoltran edited this page Jan 3, 2017
·
4 revisions
Crane can use Unison to make Docker for Mac sync files really fast. You will need unison
and unison-fsmonitor
on your system.
$ brew install unison
At the moment, version 2.48.4 is required. Check with unison -version
. Additionally, you will need unox:
# This is dependency for unox
$ pip install MacFSEvents
# unox is unison-fsmonitor script for Mac
$ curl -o /usr/local/bin/unison-fsmonitor -L https://raw.githubusercontent.com/hnsl/unox/master/unox.py
$ chmod +x /usr/local/bin/unison-fsmonitor
On Linux or MacOSX, you might have to
- Add in your
/etc/hosts
<Docker IP> localhost
- Get the IP address of your docker host:
$ docker-machine ip MACHINE_NAME