I\'ve been working through the fabcar example and have it running it perfectly when no alterations have happened. What I\'m trying to do is update the fabcar.go code to add
I would suggest two possible approaches:
Same name, but updated version:
peer chaincode install -n fabcar -v 2.0 -p github.com/fabcar
or same version, but new name:
peer chaincode install -n tickets -v 1.0 -p github.com/fabcar
You can use following command to remove old chaincode container image:
docker images | grep fabcar | awk '{print $2}' | docker rmi