您当前的位置: 首页 >  容器
  • 0浏览

    0关注

    1477博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

容器镜像相关项目 错误 分析步骤

软件工程小施同学 发布时间:2021-01-08 15:29:59 ,浏览量:0

一、背景

启动一个区块链项目,容器化运行。

./byfn.sh -m up -s couchdb

返回错误


Error: got unexpected status: BAD_REQUEST -- error authorizing update: error validating ReadSet: readset expected key [Group]  /Channel/Application at version 0, but got version 1
Usage:
  peer channel create [flags]
 
Flags:
  -c, --channelID string   In case of a newChain command, the channel ID to create.
  -f, --file string        Configuration transaction file generated by a tool such as configtxgen for submitting to orderer
  -t, --timeout int        Channel creation timeout (default 5)
 
Global Flags:
      --cafile string                       Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
      --certfile string                     Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint
      --clientauth                          Use mutual TLS when communicating with the orderer endpoint
      --keyfile string                      Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
      --logging-level string                Default logging level and overrides, see core.yaml for full syntax
  -o, --orderer string                      Ordering service endpoint
      --ordererTLSHostnameOverride string   The hostname override to use when validating the TLS connection to the orderer.
      --tls                                 Use TLS when communicating with the orderer endpoint
  -v, --version                             Display current version of fabric peer server
 
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========
 

但这可能不是真正的错误

 

二、查看失败的容器
docker ps -a

 

三、找到错误的地方
docker logs CONTAINER_ID

 

也可以查看正常启动的同类型容器的日志,对比是哪儿真正的错误

 

 

关注
打赏
1665320866
查看更多评论
立即登录/注册

微信扫码登录

0.1268s