Tools, FAQ, Tutorials:
CouchDB Container Used in Hyperledger Fabric
What is the CouchDB container used in Hyperledger Fabric network?
✍: FYIcenter.com
If you are using CouchDB instead of Go LevelDB,
your Hyperledger Fabric network will have another type of containers:
5. CouchDB container - There is one CouchDB container connected to a peer. Each CouchDB stores the World State for the peer.
If you deploy the sample network BYFN (Building Your First Network) with the couchdb database option, you will see 5 types of docker containers running on a single Docker Engine:
$ byfn.sh up -c mychannel -s couchdb $ docker ps --all IMAGE COMMAND NAMES hyperledger/fabric-orderer:latest orderer orderer.example.com hyperledger/fabric-peer:latest peer node start peer0.org2.example.com hyperledger/fabric-peer:latest peer node start peer1.org1.example.com hyperledger/fabric-peer:latest peer node start peer0.org1.example.com hyperledger/fabric-peer:latest peer node start peer1.org2.example.com hyperledger/fabric-couchdb tini -- /docker-ent… couchdb1 hyperledger/fabric-couchdb tini -- /docker-ent… couchdb3 hyperledger/fabric-couchdb tini -- /docker-ent… couchdb2 hyperledger/fabric-couchdb tini -- /docker-ent… couchdb0 dev-peer1.org2.example.com-mycc-1.0-ccc3… chaincode -peer.add… dev-peer1.org2.example.com-mycc-1.0 dev-peer0.org1.example.com-mycc-1.0-7782… chaincode -peer.add… dev-peer0.org1.example.com-mycc-1.0 dev-peer0.org2.example.com-mycc-1.0-6109… chaincode -peer.add… dev-peer0.org2.example.com-mycc-1.0 hyperledger/fabric-tools:latest /bin/bash" cli
⇒ Peer and CouchDB Container Dependency
⇐ Invoke Operation on Chaincode Container
2020-07-03, 1519🔥, 1💬
Popular Posts:
How to Instantiate Chaincode on BYFN Channel? You can follow this tutorial to Instantiate Chaincode ...
How to Install Docker Desktop 2.5.0 on Windows 10? You can follow this tutorial to Install Docker De...
How to build a PHP script to dump Azure AD 2.0 Authentication Response? If you are use the Azure-AD-...
How to build a test service operation to dump everything from the "context.Request" object in the re...
How to detect errors occurred in the json_decode() call? You can use the following two functions to ...