chaincode生命周期对docker的操作(更新中...)

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 Process Start
core/container/dockercontroller/dockercontroller.go Start 【 important】
core/chaincode/container_runtime.go Start LaunchConfig
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

你可能感兴趣的:(chaincode生命周期对docker的操作(更新中...))