Skip to content
This repository was archived by the owner on Aug 7, 2019. It is now read-only.

Permission denied error creating chaincode peer on ibmblockchain docker image - when used with composer  #125

@likepunk

Description

@likepunk

Hello,

I converted sample network docker images from 'hyperledger' to 'ibmblockchain', then having an issue creating peer chaincode container.

Is this a known issue? I am running HLFV11 and composer version 0.19.4 on x86...(latest docker ce 18.03.1)

I get same error either through CLI or composer-playground....it works perfectly with Hyperledger docker images.

yongkook$ composer network start --networkName digitalproperty-network --networkVersion 0.2.3 --card PeerAdmin@hlfv1 -A admin -S adminpw -l INFO

Starting business network digitalproperty-network at version 0.2.3

Processing these Network Admins:
userName: admin

✖ Starting business network definition. This may take a minute...

Error: Error trying to start business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: 2 UNKNOWN: error starting container: Post http://unix.sock/containers/create?name=dev-peer0.org1.example.com-digitalproperty-network-0.2.3: dial unix /host/var/run/docker.sock: connect: permission denied
Command failed

Yongkook-Kims-MacBook-Pro:digitalproperty-app yongkook$ composer --version
v0.19.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions