Hyperledger

apt-get update

apt-get install git

apt-get install docker

apt install docker.io

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/v1.0.5/scripts/bootstrap.sh | bash -s 1.0.3

git clone https://github.com/hyperledger/fabric-samples.git

export PATH=/root/bin:$PATH

apt install docker-compose

./byfn.sh -m generate

./byfn.sh -m up

/etc/resolv.conf 注释掉 options timeout:2 attempts:3 rotate single-request-reopen ,就能够正常启动了

docker stop $(docker ps -aq)

Hyperledger_第1张图片

你可能感兴趣的:(Hyperledger)