How to add a CLI container?


Don Li <lichunshen84@...>
 

Hi,

I'd like to be able to "install" and "instantiate" any chaincode at CLI command prompt level.

Unlike the "first-network" sample app, currently the "balance-transfer" sample app does not mount CLI container, how can we mount it?
Simply copy/paste from the docker-compose-cli.yaml file from the "first-network" to append them to the docker-compose.yaml file in the "balance-transfer" won't suffice.

It seems Orderer env parameters and the volumes mapping for the new CLI need to be configured properly.  How? Please advise.
Or any pointer to this subject would be helpful.

Thanks.

(Don) Chunshen Li
Blockchain Consultant

Join fabric@lists.hyperledger.org to automatically receive all group messages.