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, ∼2184🔥, 1💬
Popular Posts:
What validation keywords I can use in JSON Schema to specifically validate JSON Array values? The cu...
What is EPUB 3.0 Metadata "dc:description" Element? EPUB 3.0 Metadata "dc:description" is an optiona...
How to Install Docker Desktop 2.5.0 on Windows 10? You can follow this tutorial to Install Docker De...
How to attach console to a Running Container using the "docker container exec" command? I want to ge...
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...