[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 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: Encountered errors while bringing up the project.
then ,we need to set the /opt/gopath to docker sharing path:
click the docker logo in the mac desktop,the select Preferences,follow me:
then,that's OK
Starting orderer ...
Starting orderer ... done
Creating peer ...
Creating peer ... done
Creating cli ...
Creating chaincode ...
Creating cli
Creating cli ... done
Attaching to orderer, peer, chaincode, cli
相關文章
- Fabric 1.0原始碼分析(26)Orderer #ledger(Orderer Ledger)原始碼
- Fabric 1.0原始碼分析(25) Orderer原始碼
- fabric orderer 排序節點的筆記排序筆記
- Fabric 1.0原始碼分析(28) Orderer #localconfig(Orderer配置檔案定義)原始碼
- 【Azure微服務 Service Fabric 】使用az命令建立Service Fabric叢集微服務
- Fabric 1.0原始碼分析(29) Orderer #multichain(多鏈支援包)原始碼AI
- The request was denied by service delegate (SBMainWorkspace) for reasoAI
- 解決“su: cannot open session: Permission denied”Session
- Cannot restore segment prot after reloc:Permission deniedREST
- Fabric 1.0原始碼分析(30) Orderer #BroadcastServer(Broadcast服務端)原始碼ASTServer服務端
- User Get 'Access Denied' with Excel Service WebPartExcelWeb
- Fabric 1.0原始碼分析(27) Orderer #configupdate(處理通道配置更新)原始碼
- 微服務框架之微軟Service Fabric微服務框架微軟
- mysql異常 Install/Remove of the Service Denied!MySqlREM
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Failed to start docker.service: Unit not foundAIDocker
- Hyperledger Fabric無排序組織以Raft協議啟動多個Orderer服務、TLS組織執行維護Orderer服務排序Raft協議TLS
- Cannot Access Pls Pages: 'mod_security: Access denied with code 400'
- 【Azure Fabric Service】Service Fabric部署失敗問題 Provisioning of VM extension ConfigureVM has timed out.
- Fabric 1.0原始碼分析(45)gRPC(Fabric中註冊的gRPC Service)原始碼RPC
- Hyperledger Fabric無排序組織以Raft共識演算法啟動多個Orderer服務、多組織共同執行維護Orderer服務排序Raft演算法
- cannot read prpperty ‘start‘ of undefined(問題記錄)Undefined
- 處理service named start失敗failed_dnsAIDNS
- Fabric 1.0原始碼分析(32) Peer #peer node start命令實現原始碼
- service mysql start出錯,mysql啟動不了,解決mysql: unrecognized service錯誤MySqlZed
- mac, start sublime from terminalMac
- 切換使用者時提示:cannot change directory to /home/oracle: Permission deniedOracle
- 【Azure微服務 Service Fabric 】因證書過期導致Service Fabric叢集掛掉(升級無法完成,節點不可用)微服務
- CRS: Resource in UNKNOWN state and srvctl Cannot Start/Stop Resource_845709.1
- cannot send session cache limiter-headers already sent (output start at ............)SessionMITHeader
- 【Azure微服務 Service Fabric 】Service Fabric中應用開啟外部訪問埠及微服務之間通過反向代理埠訪問問題微服務
- 如何在本地資料中心安裝Service Fabric for Windows叢集Windows
- 期待微軟平臺即服務技術Service Fabric 開源微軟
- Mac OS搭建Hyperledger Fabric官方Demo一Mac
- ArcCatalog配置GIS Servers錯誤access denied :either the som service on machine...ServerMac
- sqlplus因selinux報錯cannot restore segment prot after reloc: Permission deniedSQLLinuxREST
- libclntsh.so.11.1:cannot restore segment prot after reloc:Permission denied 報錯REST
- Fatal Error: TXK Install Service,Cannot install Oracle Database HomeErrorOracleDatabase