Check "couchdb" Database Server


How to Check the "couchdb" Database Server?



The "couchdb" database server supports a REST API. We can use it to look at its data.

1. Find out the REST API port number of the "couchdb" server container:

$ docker ps | grep couchdb

hyperledger/fabric-couchdb   4369/tcp, 9100/tcp,>5984/tcp   couchdb

2. Get CouchDB server information:

$ curl http://localhost:5984/

 "vendor":{"name":"The Apache Software Foundation"}

2. List all databases:

$ curl http://localhost:5984/_all_dbs


As you can see, the CouchDB server is running fine.


⇒ Deploy Manually

⇐ Download Blocks from Blockchain

⇑ fabric-samples/basic-network

⇑⇑ Hyperledger Tutorials

2020-03-25, 876👍, 0💬