Docker 未安装并通过下载 Fabric 图像
Docker not installed and by passing download of Fabric images
我刚刚安装了 ubuntu 16.04 版本并尝试安装 Hyperledger Fabric。我什至没有安装 docker 和任何东西。但是当我输入 "curl -sSL URL | bash -s 1.4.0" 时,我遇到了 Docker not installed,通过下载 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
=========================================================
I didn't even install docker and anything
这就是给你带来麻烦的原因。您在终端中 运行 的脚本请求特定 OS 的 Hyperledger 二进制文件; fabric_tools、fabric_examples 并下载所有 Docker 图像以生成新的节点和订单(以及 Chaincode 环境)。
因为在您的计算机上找不到 Docker,脚本将跳过此图像下载。
要为您的特定 Ubuntu 发行版安装 Docker,您可以按照以下步骤操作(如果您的 root 用户 运行 Docker 没有问题,请忽略用户创建):
https://www.vultr.com/docs/installing-docker-ce-on-ubuntu-16-04
希望对您有所帮助。
我刚刚安装了 ubuntu 16.04 版本并尝试安装 Hyperledger Fabric。我什至没有安装 docker 和任何东西。但是当我输入 "curl -sSL URL | bash -s 1.4.0" 时,我遇到了 Docker not installed,通过下载 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
=========================================================
I didn't even install docker and anything
这就是给你带来麻烦的原因。您在终端中 运行 的脚本请求特定 OS 的 Hyperledger 二进制文件; fabric_tools、fabric_examples 并下载所有 Docker 图像以生成新的节点和订单(以及 Chaincode 环境)。
因为在您的计算机上找不到 Docker,脚本将跳过此图像下载。
要为您的特定 Ubuntu 发行版安装 Docker,您可以按照以下步骤操作(如果您的 root 用户 运行 Docker 没有问题,请忽略用户创建): https://www.vultr.com/docs/installing-docker-ce-on-ubuntu-16-04
希望对您有所帮助。