Notes on installing Hyperledger Fabric

ran into several issues while trying to install hyperldger fabric on a fresh mac following the instructions at https://hyperledger-fabric.readthedocs.io/en/release-1.2/install.html. writing this post to remember how to fix the errors in future.


$ curl -sSL http://bit.ly/2ysbOFE | bash -s 1.2.0

bash: line 181: [: too many arguments

Installing hyperledger/fabric-samples repo

===> Cloning hyperledger/fabric-samples repo and checkout v1.2.0

xcode-select: note: <b>no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.</b>

Installing Hyperledger Fabric binaries

===&gt; Downloading version 1.2.0 platform specific fabric binaries

===&gt; Downloading:<span class="Apple-converted-space">  </span>https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/darwin-amd64-1.2.0/hyperledger-fabric-darwin-amd64-1.2.0.tar.gz

<span class="Apple-converted-space">  </span>% Total<span class="Apple-converted-space">    </span>% Received % Xferd<span class="Apple-converted-space">  </span>Average Speed <span class="Apple-converted-space">  </span>Time<span class="Apple-converted-space">    </span>Time <span class="Apple-converted-space">    </span>Time<span class="Apple-converted-space">  </span>Current

<span class="Apple-converted-space">                                 </span>Dload<span class="Apple-converted-space">  </span>Upload <span class="Apple-converted-space">  </span>Total <span class="Apple-converted-space">  </span>Spent<span class="Apple-converted-space">    </span>Left<span class="Apple-converted-space">  </span>Speed

100 29.7M<span class="Apple-converted-space">  </span>100 29.7M<span class="Apple-converted-space">    </span>0 <span class="Apple-converted-space">    </span>0<span class="Apple-converted-space">  </span>6695k<span class="Apple-converted-space">      </span>0<span class="Apple-converted-space">  </span>0:00:04<span class="Apple-converted-space">  </span>0:00:04 --:--:-- 7282k

==&gt; Done.

===&gt; Downloading version 1.2.0 platform specific fabric-ca-client binary

===&gt; Downloading:<span class="Apple-converted-space">  </span>https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/darwin-amd64-1.2.0/hyperledger-fabric-ca-darwin-amd64-1.2.0.tar.gz

<span class="Apple-converted-space">  </span>% Total<span class="Apple-converted-space">    </span>% Received % Xferd<span class="Apple-converted-space">  </span>Average Speed <span class="Apple-converted-space">  </span>Time<span class="Apple-converted-space">    </span>Time <span class="Apple-converted-space">    </span>Time<span class="Apple-converted-space">  </span>Current

<span class="Apple-converted-space">                                 </span>Dload<span class="Apple-converted-space">  </span>Upload <span class="Apple-converted-space">  </span>Total <span class="Apple-converted-space">  </span>Spent<span class="Apple-converted-space">    </span>Left<span class="Apple-converted-space">  </span>Speed

100 3864k<span class="Apple-converted-space">  </span>100 3864k<span class="Apple-converted-space">    </span>0 <span class="Apple-converted-space">    </span>0<span class="Apple-converted-space">  </span>2309k<span class="Apple-converted-space">      </span>0<span class="Apple-converted-space">  </span>0:00:01<span class="Apple-converted-space">  </span>0:00:01 --:--:-- 2310k

==&gt; Done.

Installing Hyperledger Fabric docker images

===&gt; Pulling fabric Images

==&gt; FABRIC IMAGE: peer

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-peer/manifests/1.2.0: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-peer:1.2.0

==&gt; FABRIC IMAGE: orderer

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-orderer/manifests/1.2.0: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-orderer:1.2.0

==&gt; FABRIC IMAGE: ccenv

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-ccenv/manifests/1.2.0: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-ccenv:1.2.0

==&gt; FABRIC IMAGE: tools

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-tools/manifests/1.2.0: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-tools:1.2.0

===&gt; Pulling fabric ca Image

==&gt; FABRIC CA IMAGE

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-ca/manifests/1.2.0: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-ca:1.2.0

===&gt; Pulling thirdparty docker images

==&gt; THIRDPARTY DOCKER IMAGE: couchdb

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-couchdb/manifests/0.4.10: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-couchdb:0.4.10

==&gt; THIRDPARTY DOCKER IMAGE: kafka

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-kafka/manifests/0.4.10: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-kafka:0.4.10

==&gt; THIRDPARTY DOCKER IMAGE: zookeeper

Error response from daemon: Get https://registry-1.docker.io/v2/hyperledger/fabric-zookeeper/manifests/0.4.10: unauthorized: incorrect username or password

Error response from daemon: No such image: hyperledger/fabric-zookeeper:0.4.10

===&gt; List out hyperledger docker images

There are two issues in above:

 

This entry was posted in Software. Bookmark the permalink.

Leave a comment