Re: Modify Chain code container


Matthew Sykes
 

The peer does not "fire the docker run cmd" but uses the docker API to create and start the container.


If you want to expose a port, you can either modify the fabric code or create your own base image for chaincode that exposes the port. If you create your own image, you only need to configure the peer(s) to use your image instead of the fabric image (peer.chaincode.${language}).


On Tue, Feb 11, 2020 at 7:38 AM <sanjaykumar3989@...> wrote:
I want to expose port from chain code container to host machine. From where peer node fire the docker run cmd .



--
Matthew Sykes
matthew.sykes@...

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