这是我第一次测试hyperkedger bloackchain框架,但我遇到了一些问题。
我正在尝试在ubuntu映像上安装hyperledger,根据本网站https://hyperledger.github.io/composer/installing/development-tools.html中提到的说明,一切都很好。但在调用此命令后
mkdir ~/fabric-tools && cd ~/fabric-tools
curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.zip
unzip fabric-dev-servers.zip
输出结果
myuser@ubuntu:~/fabric-tools$ ./downloadFabric.sh
Development only script for Hyperledger Fabric control
Running 'downloadFabric.sh'
FABRIC_VERSION is unset, assuming hlfv1
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
# Set ARCH
ARCH=`uname -m`
uname -m
# Grab the current directory.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd
dirname "${BASH_SOURCE[0]}"
# Pull and tag the latest Hyperledger Fabric base image.
docker pull hyperledger/fabric-peer:$ARCH-1.0.4
/home/myuser/fabric-tools/fabric-scripts/hlfv1/downloadFabric.sh: line 13: docker: command not found
所以我尝试手动安装docker,然后使用相同的命令我收到以下错误。
sudo ./downloadFabric.sh
Development only script for Hyperledger Fabric control
Running 'downloadFabric.sh'
FABRIC_VERSION is unset, assuming hlfv1
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
# Set ARCH
ARCH=`uname -m`
uname -m
# Grab the current directory.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd
dirname "${BASH_SOURCE[0]}"
# Pull and tag the latest Hyperledger Fabric base image.
docker pull hyperledger/fabric-peer:$ARCH-1.0.4
Error response from daemon: manifest for hyperledger/fabric-peer:i686-1.0.4 not found
从这里我无法理解是什么问题以及如何下载正确的泊坞窗图像。任何提示或指导将不胜感激。
答案 0 :(得分:0)
看起来您正在运行32位Ubuntu发行版。 Docker官方只支持64位操作系统,我们只为Hyperledger Fabric构建64位图像。不幸的是,我唯一的建议是找到一个64位的Ubuntu主机系统。