在docker镜像里出现的报错 大概是什么问题呀 实在是修不好
bash-5.1# peer channel create -o orderer0.example.com:7050 -c ${APP_CHANNEL} -f "/tmp/channel-artifacts/$APP_CHANNEL.tx" --timeout "${TIMEOUT}s" --tls --cafile /home/rqhz/src/github.com/hyperledger/fabric/scripts/fabric-samples/3orderer-org1-2peer-org2-2peer-network/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
2023-03-08 02:40:00.085 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2023-03-08 02:40:00.086 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2023-03-08 02:40:00.094 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
Error: invalid argument "s" for "-t, --timeout" flag: time: invalid duration "s"
是命令里的参数写错了吗
“Devil组”引证GPT后的撰写:
例如使用“10s”表示10秒:
--timeout "10s"
你看下你运行的是什么容器,然后大概意思是 -t参数后面跟了带s的 你看下-t参数是不是支持的是数值格式的