Hyperledger Fabric: Error endorsing chaincode: rpc error

0 votes

When i ran ./startFabric.sh command i got this error

Error: Error endorsing chaincode: rpc error: code = Unknown desc = error starting container: Failed to generate platform-specific docker build: Error returned from build: 2 "# github.com/fabcar/go:

Any idea how to solve this?

Oct 31, 2018 in Blockchain by digger
• 27,620 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Run the following commands and try again:

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker stop $(docker images -a -q)
docker rmi $(docker images -a -q)

If it still doesnt work then remove dangling containers and try again

docker rmi $(docker images -q --filter "dangling=true")
answered Oct 31, 2018 by Omkar
• 65,840 points

Related Questions In Blockchain

0 votes
1 answer
+16 votes
4 answers
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.