0
0 Comments

Tried to get Hyperledgerfabric v2.x with sudo.

Prerequisities completed. docker demon is running. able to get hello image from docker

section1: Is this means available version repo will download ?

Clone hyperledger/fabric-samples repo ===> Changing directory to fabric-samples fabric-samples v2.3.2 does not exist, defaulting main

section2: Here it says Done

===> Downloading version 2.3.2 platform specific fabric binaries ===> Downloading: https://github.com/hyperledger/fabric/releases/download/v2.3.2/hyperledger-fabric-linux-amd64-2.3.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 649 100 649 0 0 1195 0 –:–:– –:–:– –:–:– 1195 100 73.5M 100 73.5M 0 0 84208 0 0:15:16 0:15:16 –:–:– 113k ==> Done.

Section3: Permission denied issue – why ?

Pull Hyperledger Fabric docker images

FABRIC_IMAGES: peer orderer ccenv tools baseos ===> Pulling fabric Images ====> hyperledger/fabric-peer:2.3.2 Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=hyperledger%2Ffabric-peer&tag=2.3.2: dial unix /var/run/docker.sock: connect: permission denied


Please advise.

Anonymous Asked question May 13, 2021