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, ∼2418🔥, 1💬
Popular Posts:
What is EPUB 2.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 2.0 Metadata "dc:publisher" ...
Why I am getting "LNK1104: cannot open file 'MSCOREE.lib'" error when building a C++/CLI program? Vi...
How To Protect Special Characters in Query String in PHP? If you want to include special characters ...
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency ...
How to use the "set-body" Policy Statement for an Azure API service operation? The "set-body" Policy...