[fabric]Cannot start service orderer: Mounts denied: In Mac

docker-compose -f docker-compose-simple.yaml up

console output like this:

Starting orderer ... 
Starting orderer ... error

ERROR: for orderer  Cannot start service orderer: Mounts denied: 
The paths /opt/gopath/src/github.com/hyperledger/fabric-samples/chaincode-docker-devmode/msp and /opt/gopath/src/github.com/hyperledger/fabric-samples/chaincode-docker-devmode/orderer.block
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
.

ERROR: for orderer  Cannot start service orderer: Mounts denied: 
The paths /opt/gopath/src/github.com/hyperledger/fabric-samples/chaincode-docker-devmode/msp and /opt/gopath/src/github.com/hyperledger/fabric-samples/chaincode-docker-devmode/orderer.block
are not shared from OS X and are no

你可能感兴趣的:(区块链技术)