Fabric0.6/1.0镜像文件拉取
Fabric 0.6镜像Fabric的Docker镜像是在https://hub.docker.com/r/hyperledger/ ,主要用到peer,baseimage,membersrvc,先现在Peer和membersrvc,这两个镜像提供了latest版本,所以直接pull下来即可。docker pull hyperledger/fabric-peerdocker pul
Fabric 0.6镜像
Fabric的Docker镜像是在https://hub.docker.com/r/hyperledger/ ,主要用到peer,baseimage,membersrvc,先现在Peer和membersrvc,这两个镜像提供了latest版本,所以直接pull下来即可。
docker pull hyperledger/fabric-peer
docker pull hyperledger/fabric-membersrvc
但是baseimage是没有latest版本,所以我们可以下载一个新一点的版本,然后rename成latest。
docker pullhyperledger/fabric-baseimage:x86_64-0.3.0
docker taghyperledger/fabric-baseimage:x86_64-0.3.0 hyperledger/fabric-baseimage:latest
现在我们运行docker images命令,可以看到我们准备好的镜像:
Fabric 1.0镜像
下载docker-compose-files文件git clonehttps://github.com/yeasy/docker-compose-files
拉取镜像:参考cd/docker-compose-files/hyperledger/1.0/scripts/下的
vi setup_fabric_1.0.sh文件描述
docker pullyeasy/hyperledger-fabric-base:0.8.9 \
&& docker pull yeasy/hyperledger-fabric-peer:0.8.9 \
&& docker pull yeasy/hyperledger-fabric-orderer:0.8.9 \
&& docker pull yeasy/hyperledger-fabric-ca:0.8.9 \
&& docker pull yeasy/blockchain-explorer:latest \
&& docker tag yeasy/hyperledger-fabric-peer:0.8.9hyperledger/fabric-peer \
&& docker tag yeasy/hyperledger-fabric-orderer:0.8.9hyperledger/fabric-orderer \
&& docker tag yeasy/hyperledger-fabric-ca:0.8.9hyperledger/fabric-ca \
&& docker tag yeasy/hyperledger-fabric-base:0.8.9hyperledger/fabric-ccenv:x86_64-1.0.0-preview \
&&docker tag yeasy/hyperledger-fabric-base:0.8.9hyperledger/fabric-baseos:x86_64-1.0.0-preview然后直接拷贝执行即可自动拉取
更多推荐
所有评论(0)