title: Hyperledger Fabric : Error: could not assemble transaction, msg chaincode registration failed: container exited with 127
body: <p>I am currently working on Hyperledger fabric. Trying to run the <strong>fabcar</strong> app from the <strong>fabric-samples</strong> but getting following errors.</p>
  
  <pre><code>Error: could not assemble transaction, err proposal response was not successful, error code 500, msg chaincode registration failed: containers exited with 127
  </code></pre>
  
  <p>Hyperledger Fabric source : <a href="https://github.com/hyperledger/fabric-samples" rel="nofollow noreferrer">https://github.com/hyperledger/fabric-samples</a></p>
  
  <p>I have already delete the older docker images and also container, and then started executing the script but still getting the error.</p>
  
  <p><strong>CMD</strong></p>
  
  <pre><code>sudo docker rmi $(docker images -a)
  sudo docker kill $(docker ps -aq)
  sudo ./startFabric.sh javascript 
  </code></pre>
  
  <p>please help me out, give me any suggestion to get the script working.</p>