core.yaml
为ture时,将docker的日志输出到fabric标准输出,
attachStdout: false
逆向从链码调用到docker操作源码表
core/container/util/dockerutil.go NewDockerClient
core/chaincode/platforms/util/utils.go DockerBuild
core/chaincode/platforms/golang/platform.go GenerateDockerBuild
core/chaincode/platforms/platforms.go StreamDockerBuild GenerateDockerBuild
core/container/controller.go Build StartContainerReq
core/container/dockercontroller/dockercontroller.go Start 【 important】
core/chaincode/container_runtime.go Start
core/chaincode/runtime_launcher.go Launch
core/chaincode/chaincode_support.go Launch Invoke Execute
core/endorser/support.go Execute
core/endorser/endorser.go callChaincode SimulateProposal ProcessProposal
peer/chaincode/common.go ChaincodeInvokeOrQuery
有疑问加站长微信联系(非本文作者)