当前位置: 首页 > 工具软件 > Start Me Up > 使用案例 >

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

祁雪峰
2023-12-01
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
 类似资料: