10 peer chaincode instantiate报错

执行命令如下:

peer chaincode instantiate -o orderer.qklszzn.com:7050 -C roberttestchannel -n roberttestchannel -v 1.0 -c '{"Args":["init", "a","100", "b","200"]}' -P "OR ('Org1MSP.member', 'Org2MSP.member')"


返回信息:

2019-05-15 09:34:54.936 CST [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc

2019-05-15 09:34:54.936 CST [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc

Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Failed to pull hyperledger/fabric-ccenv:amd64-1.4.2: API error (404): manifest for hyperledger/fabric-ccenv:amd64-1.4.2 not found


peer节点日志信息:

2019-05-15 09:46:42.741 CST [chaincode.platform] func1 -> ERRO 031 Failed to generate platform-specific docker build: Failed to pull hyperledger/fabric-ccenv:amd64-1.4.2: API error (404): manifest for hyperledger/fabric-ccenv:amd64-1.4.2 not found

2019-05-15 09:46:42.741 CST [dockercontroller] deployImage -> ERRO 032 Error building image: Failed to generate platform-specific docker build: Failed to pull hyperledger/fabric-ccenv:amd64-1.4.2: API error (404): manifest for hyperledger/fabric-ccenv:amd64-1.4.2 not found

2019-05-15 09:46:42.741 CST [dockercontroller] deployImage -> ERRO 033 Build Output:

********************

********************

2019-05-15 09:46:42.764 CST [endorser] callChaincode -> INFO 034 [roberttestchannel][7b263722] Exit chaincode: name:"lscc"  (3088ms)

2019-05-15 09:46:42.764 CST [endorser] SimulateProposal -> ERRO 035 [roberttestchannel][7b263722] failed to invoke chaincode name:"lscc" , error: Failed to generate platform-specific docker build: Failed to pull hyperledger/fabric-ccenv:amd64-1.4.2: API error (404): manifest for hyperledger/fabric-ccenv:amd64-1.4.2 not found

error starting container

error starting container

请先 登录 后评论

1 个回答

冯翔 - 高级系统架构师

你测试下docker是否顺利启动,可以用下面的命令


curl -XPOST --unix-socket /var/run/docker.sock -d ‘{“Image”:”nginx”}’ -H ‘Content-Type: application/json’ http://localhost/containers/create

请先 登录 后评论