Welcome to the Linux Foundation Forum!

Permission Denied: curl -sSL http://bit.ly/2ysbOFE | bash -s -- 2.2.2 1.4.9

I am trying to complete the Lab Setup for the Hyperledger Fabric training and facing issues. I am running Ubuntu and have followed the Setup instructions to the "T". I am also totally new to Linux so these errors are confusing for me and I am not sure how to resolve them. I have pasted the output of the command that I ran. Primarily, I am getting several Permission Denied Errors and that could be the cause of the error I am getting when running the very last command which is:

faruk@HLFT-VirtualBox:~/go/src/github.com/hyperledger/fabric-samples/test-network$ sudo ./network.sh up createChannel -ca -s couchdb

I get the following error:

ERROR: The Compose file './docker/docker-compose-ca.yaml' is invalid because:
networks.test value Additional properties are not allowed ('name' was unexpected).

I am unable to proceed any further. Any help would be greatly appreciated. Thank you in advance.

faruk@HLFT-VirtualBox:~/go/src/github.com/hyperledger$ curl -sSL http://bit.ly/2ysbOFE | bash -s -- 2.2.2 1.4.9

Pull Hyperledger Fabric docker images

FABRIC_IMAGES: peer orderer ccenv tools baseos
===> Pulling fabric Images
====> hyperledger/fabric-peer:2.2.2
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/create?fromImage=hyperledger/fabric-peer&tag=2.2.2": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-peer:2.2.2/tag?repo=hyperledger/fabric-peer&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-peer:2.2.2/tag?repo=hyperledger/fabric-peer&tag=2.2": dial unix /var/run/docker.sock: connect: permission denied
====> hyperledger/fabric-orderer:2.2.2
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/create?fromImage=hyperledger/fabric-orderer&tag=2.2.2": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-orderer:2.2.2/tag?repo=hyperledger/fabric-orderer&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-orderer:2.2.2/tag?repo=hyperledger/fabric-orderer&tag=2.2": dial unix /var/run/docker.sock: connect: permission denied
====> hyperledger/fabric-ccenv:2.2.2
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/create?fromImage=hyperledger/fabric-ccenv&tag=2.2.2": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-ccenv:2.2.2/tag?repo=hyperledger/fabric-ccenv&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-ccenv:2.2.2/tag?repo=hyperledger/fabric-ccenv&tag=2.2": dial unix /var/run/docker.sock: connect: permission denied
====> hyperledger/fabric-tools:2.2.2
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/create?fromImage=hyperledger/fabric-tools&tag=2.2.2": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-tools:2.2.2/tag?repo=hyperledger/fabric-tools&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-tools:2.2.2/tag?repo=hyperledger/fabric-tools&tag=2.2": dial unix /var/run/docker.sock: connect: permission denied
====> hyperledger/fabric-baseos:2.2.2
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/create?fromImage=hyperledger/fabric-baseos&tag=2.2.2": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-baseos:2.2.2/tag?repo=hyperledger/fabric-baseos&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-baseos:2.2.2/tag?repo=hyperledger/fabric-baseos&tag=2.2": dial unix /var/run/docker.sock: connect: permission denied
===> Pulling fabric ca Image
====> hyperledger/fabric-ca:1.4.9
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/create?fromImage=hyperledger/fabric-ca&tag=1.4.9": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-ca:1.4.9/tag?repo=hyperledger/fabric-ca&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http:///var/run/docker.sock/v1.24/images/hyperledger/fabric-ca:1.4.9/tag?repo=hyperledger/fabric-ca&tag=1.4": dial unix /var/run/docker.sock: connect: permission denied
===> List out hyperledger docker images
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http:///var/run/docker.sock/v1.24/images/json": dial unix /var/run/docker.sock: connect: permission denied

Comments

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training