我刚刚安装了ubuntu16.04版本,并试图安装Hyperledger织物。我甚至都没安装码头什么的。但是当我输入"curl -sSL URL URL\ bash -s 1.4.0“时,我通过传递下载的Fabric映像来面对。有人能帮我解决这个问题吗?
traveler5260@traveler5260-VirtualBox:~$ curl -sSL URL | bash -s 1.4.0
Installing hyperledger/fabric-samples repo
===> Cloning hyperledger/fabric-samples repo and checkout v1.4.0
bash: 줄 75: git: Cannot find command
Installing Hyperledger Fabric binaries
===> Downloading version 1.4.0 platform specific fabric binaries
===> Downloading: https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/linux-amd64-1.4.0/hyperledger-fabric-linux-amd64-1.4.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 50.9M 100 50.9M 0 0 2566k 0 0:00:20 0:00:20 --:--:-- 5270k
==> Done.
===> Downloading version 1.4.2 platform specific fabric-ca-client binary
===> Downloading: https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/linux-amd64-1.4.2/hyperledger-fabric-ca-linux-amd64-1.4.2.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6324k 100 6324k 0 0 1102k 0 0:00:05 0:00:05 --:--:-- 1379k
==> Done.
Installing Hyperledger Fabric docker images
=========================================================
Docker not installed, bypassing download of Fabric images
=========================================================
发布于 2019-08-08 21:41:38
我甚至没有安装码头什么的
这就是给你带来麻烦的原因。在终端中运行的脚本请求特定操作系统的Hyperledger二进制文件;fabric_tools、fabric_examples和下载所有Docker映像,以生成新的对等程序和订单(以及Chaincode环境)。
因为您的计算机上找不到Docker,所以脚本将跳过此图像下载。
要为特定的Ubuntu发行版安装Docker,可以执行以下步骤(如果在根用户上运行Docker没有问题,则省略用户创建):https://www.vultr.com/docs/installing-docker-ce-on-ubuntu-16-04
希望这对你有一点帮助。
https://stackoverflow.com/questions/57418713
复制相似问题