错误:pathspecs,卷曲-ssl [缩短的URL,这里] | 庆典-s 1.1.0(Err

2019-09-29 03:12发布

据hyperledger作曲家教程 ,部署网络,多组织,我需要清理以前安装的作曲家:

cd ~/fabric-dev-servers
./stopFabric.sh
./teardownFabric.sh

在那之后,我克隆hyperledger /织物样本分支

git clone -b issue-6978 https://github.com/sstone1/fabric-samples.git

然后,导航到织物样本以及从与缩短链接库下载特定的二进制

curl -sSL [shortened-url-here] | bash -s 1.1.0

紧接着的是,一个错误抛出

===> Checking out v1.1.0 branch of hyperledger/fabric-samples
error: pathspec 'v1.1.0' did not match any file(s) known to git.

此外,还有更多的一些与多个图像

Error response from daemon: manifest for hyperledger/fabric-ca:x86_64-1.2.0-rc1 not found
Error response from daemon: No such image: hyperledger/fabric-ca:x86_64-1.2.0-rc1
===> Pulling thirdparty docker images
==> THIRDPARTY DOCKER IMAGE: couchdb

Error response from daemon: manifest for hyperledger/fabric-couchdb:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-couchdb:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: kafka

Error response from daemon: manifest for hyperledger/fabric-kafka:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-kafka:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: zookeeper

Error response from daemon: manifest for hyperledger/fabric-zookeeper:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-zookeeper:x86_64-0.4.8

我还附上以上错误的完整结果

bp1@bp1-VirtualBox:~/fabric-dev-servers/fabric-samples$ curl -sSL [shortened-url here] | bash -s 1.1.0

Installing hyperledger/fabric-samples repo

===> Checking out v1.1.0 branch of hyperledger/fabric-samples
error: pathspec 'v1.1.0' did not match any file(s) known to git.

Installing Hyperledger Fabric binaries

===> Downloading version x86_64-1.1.0 platform specific fabric binaries
===> Downloading:  https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/linux-amd64-1.1.0/hyperledger-fabric-linux-amd64-1.1.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 35.4M  100 35.4M    0     0   145k      0  0:04:09  0:04:09 --:--:--  135k
==> Done.
===> Downloading version x86_64-1.2.0-rc1 platform specific fabric-ca-client binary
===> Downloading:  https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/linux-amd64-1.2.0-rc1/hyperledger-fabric-ca-linux-amd64-1.2.0-rc1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4939k  100 4939k    0     0   153k      0  0:00:32  0:00:32 --:--:--  205k
==> Done.

Installing Hyperledger Fabric docker images

===> Pulling fabric Images
==> FABRIC IMAGE: peer

x86_64-1.1.0: Pulling from hyperledger/fabric-peer
Digest: sha256:57417699ddf50c5ebd47a9a2cc74c0324fbba0281eb1104b9ddd05a67776b01f
Status: Image is up to date for hyperledger/fabric-peer:x86_64-1.1.0
==> FABRIC IMAGE: orderer

x86_64-1.1.0: Pulling from hyperledger/fabric-orderer
Digest: sha256:0c3a3b5ecfd24b513da22bbb77da7b3f5bca9c121cc0ac5c46ba04c97c163654
Status: Image is up to date for hyperledger/fabric-orderer:x86_64-1.1.0
==> FABRIC IMAGE: ccenv

x86_64-1.1.0: Pulling from hyperledger/fabric-ccenv
Digest: sha256:07818367dc6d4264472d24b21819f9dc4e16e890d81ddfacee0341a22d72050b
Status: Image is up to date for hyperledger/fabric-ccenv:x86_64-1.1.0
==> FABRIC IMAGE: tools

x86_64-1.1.0: Pulling from hyperledger/fabric-tools
1be7f2b886e8: Already exists 
6fbc4a21b806: Already exists 
c71a6f8e1378: Already exists 
4be3072e5a37: Already exists 
06c6d2f59700: Already exists 
4d536120d8a5: Already exists 
0baaf9ec263e: Already exists 
3ea9b6cc6f21: Already exists 
6173b9a5fe5e: Already exists 
e73719e0bcbe: Already exists 
b55408c6ced5: Already exists 
1a8bca84adfa: Pull complete 
b54c1992cc9c: Pull complete 
68093aff3e84: Pull complete 
3827dc0ff46d: Pull complete 
1e22360bf4e7: Pull complete 
Digest: sha256:36d7fa8e8ddcc19fed8e1c3c06bc6ae1dac18c35e8a884188d2c08df3e5a4472
Status: Downloaded newer image for hyperledger/fabric-tools:x86_64-1.1.0
===> Pulling fabric ca Image
==> FABRIC CA IMAGE

Error response from daemon: manifest for hyperledger/fabric-ca:x86_64-1.2.0-rc1 not found
Error response from daemon: No such image: hyperledger/fabric-ca:x86_64-1.2.0-rc1
===> Pulling thirdparty docker images
==> THIRDPARTY DOCKER IMAGE: couchdb

Error response from daemon: manifest for hyperledger/fabric-couchdb:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-couchdb:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: kafka

Error response from daemon: manifest for hyperledger/fabric-kafka:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-kafka:x86_64-0.4.8
==> THIRDPARTY DOCKER IMAGE: zookeeper

Error response from daemon: manifest for hyperledger/fabric-zookeeper:x86_64-0.4.8 not found
Error response from daemon: No such image: hyperledger/fabric-zookeeper:x86_64-0.4.8

===> List out hyperledger docker images
hyperledger/fabric-ca                                                                                                x86_64-1.1.0        72617b4fa9b4        3 months ago        299MB
hyperledger/fabric-tools                                                                                             latest              b7bfddf508bc        3 months ago        1.46GB
hyperledger/fabric-tools                                                                                             x86_64-1.1.0        b7bfddf508bc        3 months ago        1.46GB
hyperledger/fabric-orderer                                                                                           latest              ce0c810df36a        3 months ago        180MB
hyperledger/fabric-orderer                                                                                           x86_64-1.1.0        ce0c810df36a        3 months ago        180MB
hyperledger/fabric-peer                                                                                              latest              b023f9be0771        3 months ago        187MB
hyperledger/fabric-peer                                                                                              x86_64-1.1.0        b023f9be0771        3 months ago        187MB
hyperledger/fabric-ccenv                                                                                             latest              c8b4909d8d46        3 months ago        1.39GB
hyperledger/fabric-ccenv                                                                                             x86_64-1.1.0        c8b4909d8d46        3 months ago        1.39GB
hyperledger/fabric-baseimage                                                                                         x86_64-0.4.6        dbe6787b5747        4 months ago        1.37GB
hyperledger/fabric-couchdb                                                                                           x86_64-0.4.6        7e73c828fc5b        4 months ago        1.56GB

敬请分享一些建议,在此先感谢。

Answer 1:

由于近期面料的变化,还有行为上的变化,我们应该在本教程中捕捉..

请尝试curl -sSL [shortened-url-here] | bash -s 1.1.0 1.1.0 0.4.6 curl -sSL [shortened-url-here] | bash -s 1.1.0 1.1.0 0.4.6 -即3个参数,用空格隔开,所述bash -s以上和特别是那些版本命令。

您可以忽略的error: pathspec 'v1.1.0'消息现在,因为我们使用的教程定制回购。



Answer 2:

您可以手动把所有这些图像。 (没有脚本错误,因为错误的版本)

  • 搬运工拉hyperledger /织物的CouchDB:x86_64-1.0.0
  • 搬运工拉hyperledger /织物-CA:x86_64-1.1.0


文章来源: Error: pathspecs with curl -sSL [shortened-url-here] | bash -s 1.1.0