Public Repository

Last pushed: 2 years ago
Short Description
A simple port of https://github.com/dedis/cothority on docker, for an easy installation.
Full Description

Step-by-step install instruction :

1) get the docker image

docker pull lbarman/cothority

2) start the image with this fancy command

docker run -d --net="host" --name="lbarman-cothority-container" --restart="unless-stopped" lbarman/cothority /run-cothority-nohup.sh

Explanation : runs in background (-d), shares the machine's network start (--net="host"), gives a meaningful name to the container, and will restart the container whenever possible.

3) The container has now created a set of public/private keys, you need to give the public key to dedis (at this point, new cothority-nodes are added manually). To do that, just post the key on https://groups.google.com/forum/#!forum/cothority

To get the public key your container just created :

docker exec lbarman-cothority-container cat /opt/cothority/key.pub


Other useful command :
Debug nohup STDOUT/STDERR :
docker exec lbarman-cothority-container cat /control.log

Debug cothority STDOUT/STDERR :
docker exec lbarman-cothority-container cat /cothority.log

Change server port (default : 5000) :
docker exec lbarman-cothority-container nano /run-cothority.sh
then stop the docker container, create a new image (to save changes), and restart it


All credits due to the awesome cothority team (https://github.com/dedis/cothority)

Docker Pull Command
Owner
lbarman

Comments (1)
lbarman
2 years ago

Version before 28.01.2016, 21:00 UTC+1 is subject to memory starvation - please update with newer version