Raspberry pi 覆盆子皮3的Hyperledger面料
我正在尝试在raspberry pi上部署hyperledger结构,但它不起作用。我正在搜索一些教程,但没有找到,有人刚刚做了吗?上次我尝试在RPi上运行Hyperledger Fabric时,我准备了以下说明:Raspberry pi 覆盆子皮3的Hyperledger面料,raspberry-pi,hyperledger,hyperledger-fabric,Raspberry Pi,Hyperledger,Hyperledger Fabric,我正在尝试在raspberry pi上部署hyperledger结构,但它不起作用。我正在搜索一些教程,但没有找到,有人刚刚做了吗?上次我尝试在RPi上运行Hyperledger Fabric时,我准备了以下说明: 在SD卡上安装最新RASPBIAN,您可以从以下位置下载图像: 通过运行以下命令更新和升级最新版本: sudo apt-get update && sudo apt-get upgrade -y 安装所需的依赖项: sudo apt-get install
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install git curl gcc libc6-dev libltdl3-dev python-setuptools -y
sudo -H pip install pip --upgrade
curl -sSL get.docker.com | shsudo usermod -aG docker pisudo pip install docker-compose
mkdir -p /home/pi/golang && mkdir -p /home/pi/golang/src/github/hyperledger/
export GOPATH=/home/pi/golang
export PATH=/usr/local/go/bin:$PATH
/home/pi/golang/src/github/hyperledger/
git clone https://github.com/hyperledger/fabric-baseimage.git
/home/pi/golang/src/github/hyperledger/
代码>
git clone https://github.com/hyperledger/fabric.git
cd ~/golang/src/github/hyperledger/fabric-baseimage && make docker-local
--- a/peer/core.yaml
+++ b/peer/core.yaml
@@ -68,7 +68,6 @@ peer:
# Gossip related configuration
gossip:
- bootstrap: 127.0.0.1:7051
# Use automatically chosen peer (high avalibility) to distribute blocks in channel or static one
# Setting this true and orgLeader true cause panic exit
useLeaderElection: false
@@ -280,7 +279,7 @@ vm:
Config:
max-size: "50m"
max-file: "5"
- Memory: 2147483648
+ Memory: 16777216
及
--- a/core/container/util/dockerutil.go
+++ b/core/container/util/dockerutil.go
@@ -45,6 +45,7 @@ func NewDockerClient() (client *docker.Client, err error) {
// and GOARCH here.
var archRemap = map[string]string{
"amd64": "x86_64",
+ "arm": "armv7l",
}
func getArch() string {
cd ~/golang/src/github/hyperledger/fabric && make clean peer peer-docker
~/golang/src/github/hyperledger/fabric/build/bin/
当我尝试创建干净的对等docker时,我遇到了错误docker:error response from daemon:manifest for hyperledger/fabric baseimage:armv7l-0.3.1未找到。您遇到了什么问题?您是否尝试按照步骤#13所述构建映像?无法在本地找到映像“hyperledger/fabric baseimage:armv7l-0.3.1”docker:error response from守护程序:未找到hyperledger/fabric baseimage:armv7l-0.3.1的清单。请参阅“docker run--帮助”。Makefile:215:目标'build/docker/gotools'的配方生成失败:**[build/docker/gotools]错误125是,我使用:make-f Makefile生成它。我这样做是因为docker local不起作用