Search code examples
hyperledger-fabrichyperledger

Getting error as ccenv:latest removal from docker hub caused problem for chaincode instantiation


I am trying to init the chaincode on hyperledger fabric 1.4.5 setup with k8s, however getting error as

"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:latest: API error (404): manifest for hyperledger/fabric-ccenv:latest not found: manifest unknown: manifest unknown
"

Please anybody help me on this issue


Solution

  • latest tag has been deprecated. You can add

    CORE_CHAINCODE_BUILDER: hyperledger/fabric-ccenv:your_version

    under peer's environment in compose file.