Ubuntu Linux上一直是Fabric 1.0版本,按照在线文档下载新版本的源码、二进制文件及Fabric images

https://hyperledger-fabric.readthedocs.io/en/latest/install.html

文档中对应的命令行为:

sudo curl -sSL http://bit.ly/2ysbOFE | bash -s 1.2.0

更为详细的是:

sudo curl -sSL http://bit.ly/2ysbOFE | bash -s <fabric> <fabric-ca> <thirdparty>
sudo curl -sSL http://bit.ly/2ysbOFE | bash -s 1.2.0 1.2.0 0.4.10

注意脚本命令行中的短地址要换成真实地址,因为大陆做了屏蔽,这个网址可在线转换:http://bitly.co/

但执行的时间总是出现:Got permission denied while trying to connetct to the Docker daemon socker......错误信息。用sudo docker images可以看到上个版本所对应的images。于是将原先的Fabric 1.0的images全部删除,并在命令行bash前也加了一个sudo,下载正常进行了。

Logo

更多推荐