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
• 26,720 points

1 answer to this question.

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
• 69,170 points

Related Questions In Blockchain

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