[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 1.0原始碼分析(28) Orderer #localconfig(Orderer配置檔案定義)原始碼
- fabric orderer 排序節點的筆記排序筆記
- 【Azure微服務 Service Fabric 】使用az命令建立Service Fabric叢集微服務
- 解決“su: cannot open session: Permission denied”Session
- Fabric 1.0原始碼分析(29) Orderer #multichain(多鏈支援包)原始碼AI
- Fabric 1.0原始碼分析(30) Orderer #BroadcastServer(Broadcast服務端)原始碼ASTServer服務端
- Service Fabric是什麼?
- Fabric 1.0原始碼分析(27) Orderer #configupdate(處理通道配置更新)原始碼
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Failed to start docker.service: Unit not foundAIDocker
- cannot read prpperty ‘start‘ of undefined(問題記錄)Undefined
- 【Azure Fabric Service】Service Fabric部署失敗問題 Provisioning of VM extension ConfigureVM has timed out.
- RAT ORA-15507: cannot start workload replay on instance 1
- 微服務框架之微軟Service Fabric微服務框架微軟
- Hyperledger Fabric無排序組織以Raft協議啟動多個Orderer服務、TLS組織執行維護Orderer服務排序Raft協議TLS
- Fabric 1.0原始碼分析(45)gRPC(Fabric中註冊的gRPC Service)原始碼RPC
- Fabric 1.0原始碼分析(32) Peer #peer node start命令實現原始碼
- Hyperledger Fabric無排序組織以Raft共識演算法啟動多個Orderer服務、多組織共同執行維護Orderer服務排序Raft演算法
- mysql服務啟動報錯Redirecting to systemctl start mysqld.serviceFailed to start mysqld.service:Unit not found.MySqlAI
- [20181011]ORA-44777 – Pluggable database service cannot be started.txtDatabase
- 【Azure微服務 Service Fabric 】因證書過期導致Service Fabric叢集掛掉(升級無法完成,節點不可用)微服務
- 關於Cannot resolve scoped service from root provider解決方案IDE
- 【Azure微服務 Service Fabric 】Service Fabric中應用開啟外部訪問埠及微服務之間通過反向代理埠訪問問題微服務
- 如何在本地資料中心安裝Service Fabric for Windows叢集Windows
- Mongodb安裝坑 - Service 'MongoDB Server' (MongDB) failed to start. Verify that you have...MongoDBServerAI
- 如何把遺留的Java應用託管在Service Fabric中Java
- 執行 RabbitMQ時出錯 init terminating in do_boot ({cannot get bootfile,start_clean.boot})MQboot
- mac vscode 更新失敗:Permission denied解決辦法MacVSCode
- 優秀的應用快速啟動工具:start for MacMac
- 用命令列啟動 docker 報錯:Redirecting to /bin/systemctl start docker.service 解決方法命令列Docker
- Windows開始選單欄軟體:DoYourData Start Menu for MacWindowsMac
- Hyperledger Fabric(Hyperledger Fabric模型)模型
- start uniappAPP
- Azure Service Fabric Mesh:一個構建任務關鍵型微服務的平臺微服務
- fabric MSP 和 fabric-ca
- 安裝啟動service redisd start時報錯 /var/run/redis_6379.pid exists, process is already running or crashedRedis