Hyperledger Fabric Windows部署问题记录

在Windows上配置Fabric-samples的first-network时,遇到了包括grpc包编译问题、Docker镜像下载问题以及shell脚本执行问题。解决方法包括安装vs2015编译工具,设置Docker使用阿里云镜像源,以及调整环境变量或使用git bash运行shell脚本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Fabric-samples first-network环境配置遇到问题

软件包安装过程建议:科学上网+choco install

成功测试结果

结果

grpc包

docker

  • issues1: 相关images一直download不下来
  • issues2: docker强行关机再开启会出现错误
    • solution: 等待docker关闭后再关机

shell脚本运行问题

  • issue1: shell脚本不能运行
    • solution: git的bin下存在sh.exe, 加入环境变量运行或者使用git bash运行
  • issue2:编译设定出错
    Creating peer0.org1.example.com ... error
    
    ERROR: for peer0.org1.example.com  Cannot create cont
    ainer for service peer0.org1.example.com: b'Mount den
    ied:\nThe source path "\\\\var\\\\run:/host/var/run/"
    \nis not a valid Windows path'
    
    ERROR: for peer0.org1.example.com  Cannot create cont
    ainer for service peer0.org1.example.com: b'Mount den
    ied:\nThe source path "\\\\var\\\\run:/host/var/run/"
    \nis not a valid Windows path'
    ERROR: Encountered errors while bringing up the proje
    ct.
    
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值