如何在Ubuntu Docker映像中设置Hyperledger Fabric?

时间:2018-11-27 19:45:10

标签: docker dockerfile

我正在运行以下docker文件

https://pastebin.com/Qb2u3VSG

但出现以下错误

Step 35/37 : RUN ./downloadFabric.sh
 ---> Running in 6328a48b0396
Development only script for Hyperledger Fabric control
Running 'downloadFabric.sh'
FABRIC_VERSION is unset, assuming hlfv11
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.
# update for HPL V1.1
docker pull hyperledger/fabric-peer:$ARCH-1.1.0
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The command '/bin/sh -c ./downloadFabric.sh' returned a non-zero code: 1

我正在尝试在ubuntu容器中安装结构。这样可以创建图片吗?

0 个答案:

没有答案