-
Notifications
You must be signed in to change notification settings - Fork 0
Home
wanzhiguo edited this page Jun 16, 2018
·
10 revisions
- Install docker
sudo apt install docker
- Pull image for this workshop from dockerhub
docker pull wanzhiguo/ubuntu_snark:suss
(Permission denied: sudo usermod -a -G docker $USER)
- Or install all dependencies by yourself (without downloading the 2GB image):
sudo apt install python python3 python-pip python3-pip- Compile and install pbc (Pairing-based Cryptography source code)
pip3 install charm-crypto- Clone experiment repositories:
git clone http://github.com/wanzhiguo/mininerogit clone http://github.com/wanzhiguo/lightning_circuitgit clone http://github.com/wanzhiguo/zksnark-toy
- Install Docker CE for Windows (Require Windows 10 Pro)
-
Or install Virtual Box (and an Ubuntu ISO)
-
Or install putty and connect to a Ubuntu cloud server (DigitalOcean.com)
- Pull image for this workshop from dockerhub
docker pull wanzhiguo/ubuntu_snark:suss
- Install Docker CE from docker.com
- Pull image from dockerhub:
docker pull wanzhiguo/ubuntu_snark:suss
- Check the image:
docker images - Run the image in a container with docker:
docker run -it wanzhiguo/ubuntu_snark:suss /bin/bash - Exit container without stopping: ctrl+p then ctrl+q. You can use
docker pscheck the running container.
Enter container: docker exec -it [Container ID|Name] bash