Tools, FAQ, Tutorials:
Check "couchdb" Database Server
How to Check the "couchdb" Database Server?
✍: FYIcenter.com
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, 0.0.0.0:5984->5984/tcp couchdb
2. Get CouchDB server information:
$ curl http://localhost:5984/
{"couchdb":"Welcome",
"version":"2.2.0",
"git_sha":"2a16ec4",
"features":["pluggable-storage-engines","scheduler"],
"vendor":{"name":"The Apache Software Foundation"}
}
2. List all databases:
$ curl http://localhost:5984/_all_dbs ["_replicator","_users","mychannel_"]
As you can see, the CouchDB server is running fine.
⇒ Deploy ca.example.com Manually
⇐ Download Blocks from Blockchain
2020-03-25, ∼1423🔥, 0💬
Popular Posts:
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to...
How To Read a File in Binary Mode in PHP? If you have a file that stores binary data, like an execut...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...
How to use the "Ctrl-p Ctrl-q" sequence to detach console from the TTY terminal of container's runni...
Where to find tutorials on RSS specifications? I want to learn it to describe my API services. Here ...