concept Dev in category hyperledger

appears as: Dev
Programming Hyperledger Fabric: Creating Permissioned Blockchains

This is an excerpt from Manning's book Programming Hyperledger Fabric: Creating Permissioned Blockchains.

Table 4.3. Net vs. Dev Mode
Net Mode Dev Mode
chaincode runs in a Docker container chaincode does not have to run in a Docker container
peer needs access to Docker daemon (docker.sock) to create a container Docker daemon is not involved
peer runs fabric-chaincode-node inside new container developer runs fabric-chaincode-node manually
peer will automatically build a Docker image and launch a container when chaincode is installed and committed respectively developer will take responsibility of instantiating the smart contract and registering it against a peer
chaincode needs to be re-installed and re-committed with a new version and sequence number when you make changes to it no need to re-install and re-commit for changes to take effect
- TLS must be disabled on the peer node
CORE_CHAINCODE_MODE=net CORE_CHAINCODE_MODE=dev or --peer-chaincodedev=true when peer is started