I have developed a chaincode using this and now that I know that it works I want to test it in a network with multiple nodes.
Where should I put my chaincode so that
Usually, I put my own chaincode on github. Then:
$ docker run -i -t hyperledger/fabric-peer /bin/bash
# git clone https://github.com/xxx/myOwnChaincode.git; exit
$ docker commit -m 'mm' -a 'aa' containerId xxx/fabric-peer
Finally, the docker image "xxx/fabric-peer" contains self-programmed chaincodes. For all these steps, I write a shell script and it works so fine for me.