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, ∼2437🔥, 1💬
Popular Posts:
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use ...
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary d...
How to validate the id_token signature received from Azure AD v2.0 authentication response? You can ...
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency ...