update README.md
parent
3368d46197
commit
c1a844305b
|
@ -25,17 +25,18 @@ Pull necessary images of peer, orderer, ca, and base image.
|
|||
$ ARCH=x86_64
|
||||
$ BASE_VERSION=1.0.0-preview
|
||||
$ PROJECT_VERSION=1.0.0-preview
|
||||
$ docker pull yeasy/hyperledger-fabric-base:0.8.3 \
|
||||
&& docker pull yeasy/hyperledger-fabric-peer:0.8.3 \
|
||||
&& docker pull yeasy/hyperledger-fabric-orderer:0.8.3 \
|
||||
&& docker pull yeasy/hyperledger-fabric-ca:0.8.3 \
|
||||
$ IMG_VERSION=0.8.3
|
||||
$ docker pull yeasy/hyperledger-fabric-base:$IMG_VERSION \
|
||||
&& docker pull yeasy/hyperledger-fabric-peer:$IMG_VERSION \
|
||||
&& docker pull yeasy/hyperledger-fabric-orderer:$IMG_VERSION \
|
||||
&& docker pull yeasy/hyperledger-fabric-ca:$IMG_VERSION \
|
||||
&& docker pull yeasy/blockchain-explorer:latest \
|
||||
&& docker tag yeasy/hyperledger-fabric-peer:0.8.3 hyperledger/fabric-peer \
|
||||
&& docker tag yeasy/hyperledger-fabric-orderer:0.8.3 hyperledger/fabric-orderer \
|
||||
&& docker tag yeasy/hyperledger-fabric-ca:0.8.3 hyperledger/fabric-ca \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:0.8.3 hyperledger/fabric-baseimage \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:0.8.3 hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:0.8.3 hyperledger/fabric-baseos:$ARCH-$BASE_VERSION
|
||||
&& docker tag yeasy/hyperledger-fabric-peer:$IMG_VERSION hyperledger/fabric-peer \
|
||||
&& docker tag yeasy/hyperledger-fabric-orderer:$IMG_VERSION hyperledger/fabric-orderer \
|
||||
&& docker tag yeasy/hyperledger-fabric-ca:$IMG_VERSION hyperledger/fabric-ca \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseimage \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseos:$ARCH-$BASE_VERSION
|
||||
```
|
||||
|
||||
There are also some community [images](https://hub.docker.com/r/hyperledger/) at Dockerhub, use at your own choice.
|
||||
|
|
|
@ -19,19 +19,19 @@ curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose
|
|||
chmod +x /usr/local/bin/docker-compose
|
||||
docker-compose --version
|
||||
|
||||
ARCH=x86_64
|
||||
BASE_VERSION=1.0.0-preview
|
||||
PROJECT_VERSION=1.0.0-preview
|
||||
docker pull yeasy/hyperledger-fabric-base:0.8.3 \
|
||||
&& docker pull yeasy/hyperledger-fabric-peer:0.8.3 \
|
||||
&& docker pull yeasy/hyperledger-fabric-orderer:0.8.3 \
|
||||
&& docker pull yeasy/hyperledger-fabric-ca:0.8.3 \
|
||||
$ ARCH=x86_64
|
||||
$ BASE_VERSION=1.0.0-preview
|
||||
$ PROJECT_VERSION=1.0.0-preview
|
||||
$ IMG_VERSION=0.8.3
|
||||
$ docker pull yeasy/hyperledger-fabric-base:$IMG_VERSION \
|
||||
&& docker pull yeasy/hyperledger-fabric-peer:$IMG_VERSION \
|
||||
&& docker pull yeasy/hyperledger-fabric-orderer:$IMG_VERSION \
|
||||
&& docker pull yeasy/hyperledger-fabric-ca:$IMG_VERSION \
|
||||
&& docker pull yeasy/blockchain-explorer:latest \
|
||||
&& docker tag yeasy/hyperledger-fabric-peer:0.8.3 hyperledger/fabric-peer \
|
||||
&& docker tag yeasy/hyperledger-fabric-orderer:0.8.3 hyperledger/fabric-orderer \
|
||||
&& docker tag yeasy/hyperledger-fabric-ca:0.8.3 hyperledger/fabric-ca \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:0.8.3 hyperledger/fabric-baseimage \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:0.8.3 hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:0.8.3 hyperledger/fabric-baseos:$ARCH-$BASE_VERSION
|
||||
|
||||
&& docker tag yeasy/hyperledger-fabric-peer:$IMG_VERSION hyperledger/fabric-peer \
|
||||
&& docker tag yeasy/hyperledger-fabric-orderer:$IMG_VERSION hyperledger/fabric-orderer \
|
||||
&& docker tag yeasy/hyperledger-fabric-ca:$IMG_VERSION hyperledger/fabric-ca \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseimage \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \
|
||||
&& docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseos:$ARCH-$BASE_VERSION
|
||||
docker-compose up
|
||||
|
|
Loading…
Reference in New Issue