Refine quick start script

pull/16/head
Baohua Yang 2016-12-08 17:15:54 +08:00
parent b6445aa698
commit 340bef7640
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,5 @@
# Hyperledger fabric
You can use the following script to install Docker and start a 4-node PBFT cluster in one instruction.
```sh

View File

@ -19,9 +19,13 @@ curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
docker pull hyperledger/fabric-peer:x86_64-0.6.1-preview \
&& docker pull hyperledger/fabric-membersrvc:x86_64-0.6.1-preview \
&& docker tag hyperledger/fabric-peer:x86_64-0.6.1-preview hyperledger/fabric-baseimage:latest \
docker pull yeasy/hyperledger-fabric:0.6-dp \
&& docker pull yeasy/hyperledger-fabric-peer:0.6-dp \
&& docker pull yeasy/hyperledger-fabric-base:0.6-dp \
&& docker pull yeasy/blockchain-explorer:latest \
&& docker tag yeasy/hyperledger-fabric-peer:0.6-dp hyperledger/fabric-peer \
&& docker tag yeasy/hyperledger-fabric-base:0.6-dp hyperledger/fabric-baseimage \
&& docker tag yeasy/hyperledger-fabric:0.6-dp hyperledger/fabric-membersrvc
cd 0.6/pbft && docker-compose -f 4-peers.yml up