I am trying to follow along this sample Hyperledger Fabric code: https://github.com/hyperledger/education/tree/master/LFS171x/fabric-material
Initially I replaced ch
To make the changes in the chaincode made reflect, following steps were taken: 1. Stop all the containers
docker stop $(docker ps -aq)
docker rm -f $(docker ps -aq)
docker images
One of the output will be this among the other hyperledger binary images.REPOSITORY TAG, IMAGE ID, CREATED, SIZE: dev-peer0.org1.example.com-tuna-app-1.0-b58eb592ed6ced10f52cc063bda0c303a4272089a3f9a99000d921f94b9bae9b, latest, 0919d7c15f0a, 3 minutes ago, 172MB
Delete it using the following command:
docker rmi 0919d7c15f0a
Run the fabric again using ./startFabric.sh, npm install, node registerAdmin.js, node registerUser.js and node server.js. It should work