实例化过程出现了,Error: The required parameter ‘channelID’ is empty. Rerun the command with -C flag
Usage:
peer chaincode instantiate [flags]

Flags:
-C, --channelID string The channel on which this command should be executed
–collections-config string The fully qualified path to the collection JSON file including the file name
–connectionProfile string Connection profile that provides the necessary connection information for the network. Note: currently only supported for providing peer connection information
-c, --ctor string Constructor message for the chaincode in JSON format (default “{}”)
-E, --escc string The name of the endorsement system chaincode to be used for this chaincode
-h, --help help for instantiate
-l, --lang string Language the chaincode is written in (default “golang”)
-n, --name string Name of the chaincode
–peerAddresses stringArray The addresses of the peers to connect to
-P, --policy string The endorsement policy associated to this chaincode
–tlsRootCertFiles stringArray If TLS is enabled, the paths to the TLS root cert files of the peers to connect to. The order and number of certs specified should match the --peerAddresses flag
-v, --version string Version of the chaincode specified in install/instantiate/upgrade commands
-V, --vscc string The name of the verification system chaincode to be used for this chaincode

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
–connTimeout duration Timeout for client to connect (default 3s)
–keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint
-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
–transient string Transient map of arguments in JSON encoding
解决方案:
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker rmi -f $(docker image|grep “dev-” |awk ‘{print $3}’)
然后重新执行一下

Error: The required parameter ‘channelID‘ is empty. Rerun the command with -C flag相关推荐

  1. git pull提示remote error:CAPTCHA required

    在从bitbucket上更新代码的时候,提示失败,错误提示为remote error:CAPTCHA required. 出现这个问题的原因一般是因为近期修改过bitbucket的密码或者使用错误的密 ...

  2. MySQL5.7报错[ERROR] Unix socket lock file is empty /tmp/mysql.sock.lock的解决方法

    MySQL5.7报错[ERROR] Unix socket lock file is empty /tmp/mysql.sock.lock的解决方法 参考文章: (1)MySQL5.7报错[ERROR ...

  3. keil MDK5.24打开MDK5.15及以前STM32工程报错Error #545:Required gpdsc file 'FrameworkCubeMX.gpdsc' is missing

    最近使用Keil MDK5.24 打开以前MDK5.15的STM32工程时出现如下错误:Error #545: Required gpdsc file'.\RTE\Device\STM32F030K6 ...

  4. 【C】报错[Error] lvalue required as left operand of assignment

    [Error] lvalue required as left operand of assignment 原因: 计算值为== != 变量为= 赋值语句的左边应该是变量,不能是表达式.而实际上,这里 ...

  5. Angular--A required parameter cannot follow an optional parameter.(必选参数不能位于可选参数后)

    前言 今天在为学习AngularJS4有关于管道的内容,因为第一次学习,所以不是很懂,遇到的问题肯定也是不少,今天就遇到了这样一个问题,如下: 内容 这个问题困惑了我将近两个小时,想在网上找寻相关的解 ...

  6. php soap https 登录 复杂请求 上海资信 金融p2p Error cannot find parameter faultstringFunction ' not found

    php soap 复杂请求 上海资信 金融p2p <faultstring>Error cannot find parameter <faultstring>Function ...

  7. error: (-5:Bad argument) image is empty or has incorrect depth (!=CV_8U) in function ‘cv::SIFT_Impl:

    张三的<数字图像处理>课程 运行OpenCV的SIFT算法,在运行代码keypoints, describe = sift.detectAndCompute(image, None)后出现 ...

  8. remote error:CAPTCHA required

    拉取代码报错 idea报错 remote error:CAPTCHA required 提示就是要你输入验证码啊,网页没问题,但是git客户端没法输入,所以才报错 解决办法: 我公司的仓库登录的时候需 ...

  9. linux代码没左值,【已解决】用arm-xscale-linux-gnueabi编译代码出错:error: lvalue required as unary ‘’ operand...

    [问题] 用arm-xscale-linux-gnueabi交叉编译代码,结果出错:.././Src/xxx.c:707:32: error: lvalue required as unary '&a ...

最新文章

  1. myeclipse:web项目不能显示Web App Libraries
  2. Python开发入门与实战1-开发环境
  3. n!的位数的快速确定(斯特林公式)
  4. 视频检索扫盲 (一)
  5. Spring Boot Actuator监控关闭
  6. qtp如何连接mysql_QTP连接MYSQL数据库方法
  7. adas硬件_ADAS系统功能安全设计/SOTIF需求和测试实例/软件安全架构/硬件安全设计......
  8. win10 .net framework 3.5 0x800F0954
  9. 为什么无法建立过程性能模型?
  10. 企业内网巡航扫描神器
  11. Away3D学习笔记-物体位置和移动
  12. Linux下载工具photon,不限速、免配置的 Aria2 免费开源下载软件 Photon,替代迅雷的...
  13. ubuntu服务器安装可视化桌面(Gnome)
  14. Camera Feature(1)--介绍及常见问题
  15. Ubuntu下,用键盘定义鼠标按键
  16. UX最佳实践:提高用户体验影响力的艺术
  17. 思维导图怎么画:这款免费思维导图软件推荐给你
  18. Ubuntu18.04 intel wifi6 ax201无线网卡驱动安装
  19. 世界上最神奇的数字是142857
  20. 21世纪NBA十大诡异数据

热门文章

  1. mdf数据库文件怎么打开?
  2. 怎样开好项目启动大会
  3. java部门人员结构树
  4. 2008年顶尖 Web 设计师访谈
  5. 从法外狂徒张三卖房引起的代理模式
  6. iOS-[NSAttributedString]设置富文本和计算富文本高度
  7. mac日历显示国家节假日及补班日期
  8. ae渲染存在偏移_E3依旧是最好选择.千元游戏渲染主机该如何搭配
  9. scrcpy Device disconnected报错
  10. dva介绍--Dva概念(二)