Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


An extension of to support mounting into a docker host.


Install Unison Locally

Unison requires the version of the client (running on the host) and server (running in the container, currently at 2.48.3) to match.

Install fswatch Locally

Install coreos-sync Utility

curl -L > /usr/local/bin/coreos-sync
chmod +x /usr/local/bin/coreos-sync


First, you can launch a volume container exposing a volume with Unison.

docker run -d -p 5000:5000 immense/unison

You can then sync a local folder to /code in the container with with the coreos-sync utility:

coreos-sync ./some-dir some-dir
# this will create the folder /code/some-dir on the docker host

Now you can launch another container with /code/some-dir mounted as a volume:

$ docker run -it -v /code/some-dir:/whatever/you/want /bin/sh

Docker Compose

If you are using the immense/node-baseimage container, you can use the volumes directive in development:

    - /code/some-dir:/webapp/some-dir

You can then keep the local dir some-dir in sync with the unison container (and by extension, the docker host) with:

coreos-sync ./some-dir some-dir -w

Your web application container will now receive all file changes from your local copy of the application source code.


This docker image is licensed under GPLv3 because Unison is licensed under GPLv3 and is included in the image. See LICENSE.

Docker Pull Command
Source Repository