简体   繁体   English

当我尝试在 test-network 目录中执行 ./network.sh up 时出现 Hyperledger Fabric 错误

[英]Hyperledger Fabric error when I try to do ./network.sh up in test-network directory

This is the error that I am getting这是我得到的错误

Creating peer0.org1.example.com ... error ERROR: for peer0.org1.example.com Cannot create container for service peer0.org1.example.com: status code not OK but 500: \�\�\�\� FDocker.Core, Version=2.4.0.48506, Culture=neutral, PublicKeyToken=null Docker.Core.DockerException ClassNameMeWatsonBucketsSystem.Collections.IDictionarySystem.ExceptionaceStringRemoteStackIndexExceptionMethodHResultSource Docker.Core.DockerExceptionFilesharing has been cancelled创建 peer0.org1.example.com ... 错误错误:对于 peer0.org1.example.com 无法为服务 peer0.org1.example.com 创建容器:状态代码不正确但 500:\�\�\�\� FDocker.Core, Version=2.4.0.48506, Culture=neutral, PublicKeyToken=null Docker.Core.DockerException ClassNameMeWatsonBucketsSystem.Collections.IDictionarySystem.ExceptionaceStringRemoteStackIndexExceptionMethodHResultSource Docker.Core.DockerExceptionFilesharing 已被取消

I think the docker is doing some issue.我认为码头工人正在做一些问题。 Can any expert please help me out任何专家都可以帮助我

Okay guys.好吧伙计们。 I think I have found the solution.我想我已经找到了解决办法。

The problem was that I didn't mount the directory of fabric-samples.问题是我没有挂载fabric-samples的目录。 (sorry for my bad English, I am too much excited.). (抱歉我的英语不好,我太兴奋了。)。 I was trying to work without it..我试图在没有它的情况下工作..

Here's what you have to do:这是你必须做的:

Go to docker Settings > Resources > File Sharing > Then add path to your fabric samples directory.转到 docker 设置 > 资源 > 文件共享 > 然后将路径添加到您的结构示例目录。

This will solve the problem.这将解决问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在测试网络中使用 Hyperledger Fabric 示例运行“network.sh up”时出错 - Errors when running “network.sh up” with Hyperledger Fabric Samples in test-network Hyperledger Fabric:测试网络客户端无法连接 - Hyperledger Fabric : test-network client failed to connect 使用 fabric-samples 文件夹启动 Hyperledger Fabric 的测试网络时的端口冲突 - Port conflicts in starting test-network of Hyperledger Fabric using fabric-samples folder 在超级账本结构中创建专用网络时出错 - Error when creating private network in hyperledger fabric Windows 10 上的 Hyperledger Fabric 测试网络链码安装错误 500 - Hyperledger Fabric test network chaincode installation Error 500 on windows 10 Orderer节点在执行“network.sh up”命令后几秒钟内退出 - Orderer node exits within few seconds after execution of "network.sh up" command Hyperledger Fabric示例/第一个网络错误 - Hyperledger Fabric sample / first network error 结构样本中给出的应用程序未检测到 Hyperledger Fabric 测试网络的名称 - The Name of Hyperledger Fabric Test Network is not detected by an Application given in the fabric samples / bin / bash:./ scripts / script.sh:运行时没有这样的文件或目录./byfn.sh -m up Hyperledger fabric - /bin/bash: ./scripts/script.sh: No such file or directory when running ./byfn.sh -m up Hyperledger fabric Hyperledger Fabric 1.4 ./byfn.sh up 在 peer0_Org2 连接到通道时出错 - Hyperledger fabric 1.4 ./byfn.sh up is giving error when peer0_Org2 connecting to channel
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM