错误! Fabric Docker 镜像版本1.1.0 与测试网支持的版本不匹配
ERROR! Fabric Docker image version of 1.1.0 does not match the versions supported by the test network
我已经使用以下命令从 hyperledger 文档网站下载了最新的结构版本 2.2.0
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s
但是当涉及到 运行 测试网络时,使用其 network.sh 文件,按照 hyperledger 文档网站的指示使用以下命令
./network.sh up
我收到以下错误
Starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb' with crypto from 'cryptogen'
2020-08-26 05:55:40.852 UTC [main] main -> INFO 001 Exiting.....
LOCAL_VERSION=2.2.0
DOCKER_IMAGE_VERSION=1.1.0
=================== WARNING ===================
Local fabric binaries and docker images are
out of sync. This may cause problems.
===============================================
ERROR! Fabric Docker image version of 1.1.0 does not match the versions supported by the test network.
截图如下:
我希望 docker 图像版本 1.1.0 与本地结构版本 2.2.0 相同或对齐。我看到以前的 Whosebug 问题,但他们要求将本地结构版本从 2.2.0 降级到 1.1.0,这解决了问题,但我想使用最新的超级账本结构版本 2.2.0。所以我想知道如何将 docker 图像版本从 1.1.0 升级到 2.2.0,以便它可以与本地结构一起使用。
使用 network.sh --help
命令检查如何使用它提供的各种选项。
下面是来自./network.sh --help
的片段
-i <imagetag> - the tag to be used to launch the network (defaults to "latest")
在 v2.2
张图片上使用 network.sh up -i 2.2
到 运行 docker
。
我已经使用以下命令从 hyperledger 文档网站下载了最新的结构版本 2.2.0
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s
但是当涉及到 运行 测试网络时,使用其 network.sh 文件,按照 hyperledger 文档网站的指示使用以下命令
./network.sh up
我收到以下错误
Starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb' with crypto from 'cryptogen'
2020-08-26 05:55:40.852 UTC [main] main -> INFO 001 Exiting.....
LOCAL_VERSION=2.2.0
DOCKER_IMAGE_VERSION=1.1.0
=================== WARNING ===================
Local fabric binaries and docker images are
out of sync. This may cause problems.
===============================================
ERROR! Fabric Docker image version of 1.1.0 does not match the versions supported by the test network.
截图如下:
我希望 docker 图像版本 1.1.0 与本地结构版本 2.2.0 相同或对齐。我看到以前的 Whosebug 问题,但他们要求将本地结构版本从 2.2.0 降级到 1.1.0,这解决了问题,但我想使用最新的超级账本结构版本 2.2.0。所以我想知道如何将 docker 图像版本从 1.1.0 升级到 2.2.0,以便它可以与本地结构一起使用。
使用
network.sh --help
命令检查如何使用它提供的各种选项。下面是来自
的片段./network.sh --help
-i <imagetag> - the tag to be used to launch the network (defaults to "latest")
在
v2.2
张图片上使用network.sh up -i 2.2
到 运行docker
。