这篇博客是基于 Hyperledger Fabric 1.0 alpha2 版本
具体步骤参考Hyperledger Fabric 官方文档的Getting start部分设置。
http://hyperledger-fabric.readthedocs.io/en/latest/getting_started.html#using-the-cryptogen-tool
一、前期准备
1、必备软件安装
Docker - v1.12 or higherDocker Compose - v1.8 or higher
Go - 1.7 or higher
Git
cUrl
这些必备软件已经提前装好。安装过程请自行百度。
二、下载镜像
1、建立文件夹
mkdir fabric-sample
cd fabric-sample
2、下载docker镜像
curl -sS https://raw.githubusercontent.com/hyperledger/fabric/master/examples/e2e_cli/bootstrap.sh | bash下载好的镜像如下:
hyperledger/fabric-couchdb x86_64-1.0.0-alpha2 3d89ac4895f9 6 days ago 1.51 GB
hyperledger/fabric-ca latest 86f4e4280690 6 days ago 241 MB
hyperledger/fabric-ca x86_64-1.0.0-alpha2 86f4e4280690 6 days ago 241 MB
hyperledger/fabric-kafka latest b77440c116b3 6 days ago 1.3 GB
hyperledger/fabric-kafka x86_64-1.0.0-alpha2 b77440c116b3 6 days ago 1.3 GB
hyperledger/fabric-zookeeper latest fb8ae6cea9bf 6 days ago 1.31 GB
hyperledger/fabric-zookeeper x86_64-1.0.0-alpha2 fb8ae6cea9bf 6 days ago 1.31 GB
hyperledger/fabric-orderer latest 9a63e8bac1f5 6 days ago 182 MB
hyperledger/fabric-orderer x86_64-1.0.0-alpha2