3 ms·
Works well for me. For those who want to try it, this is what I did. Create a Dockerfile: # Ubuntu 12.04 + Python + Git FROM nlothian/python-git # Ruby
by nl 13y ago
Works well for me. For those who want to try it, this is what I did.
Create a Dockerfile:
# Ubuntu 12.04 + Python + Git
FROM nlothian/python-git
# Ruby
RUN apt-get -y install libgnutls26 ruby1.9.1
RUN apt-get -y install ruby1.9.1-dev
RUN gem install rb-inotify ffi
RUN git clone https://github.com/jewel/clearskies
Build:
sudo docker build -t clearskies .
Run:
sudo docker run -i -t clearskies /bin/bash
Then:
mkdir /testdir
echo 'testing' > afile
cd /clearskies
./clearskies start
./clearskies share /testdir
That will print something out in the form:
clearskies:SYNCXXXXXXXXXXXXXXXXXXXXXXXX
Note this, then start another clearskies docker container.
In that one:
mkdir /testdir
cd /clearskies
./clearskies start
./clearskies attach clearskies:SYNCXXXXXXXXXXXXXXXXX /sharedir
Wait a few seconds, and your file should appear.
- nl 13y agoHmm. There do seem to be problems with some firewall scenarios (or at least I presume that is what it is..) When I setup a node at home and one on an Azure box I see them discover each other, but no files seem to get copied.
- jewel 13y agoIf you'll open an issue on github and attach the logs from both peers, I can look at it.