Tools, FAQ, Tutorials:
Deploy couchdb Container Manually
How to Deploy couchdb as a Docker container manually?
✍: FYIcenter.com
You can follow this tutorial to
Deploy couchdb as a Docker container manually.
1. Verify the configuration of the couchdb container defined in the docker-compose.yml file:
$ cd ~/hyperledger-binaries/fabric-samples/basic-network
$ more docker-compose.yml
...
couchdb:
container_name: couchdb
image: hyperledger/fabric-couchdb
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
# for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode.
environment:
- COUCHDB_USER=
- COUCHDB_PASSWORD=
ports:
- 5984:5984
networks:
- basic
...
As you can see, the couchdb container will be using the "latest" version of "hyperledger/fabric-couchdb" docker image.
2. Bring down all containers defined docker-compose.yml file:
$ docker-compose -f docker-compose.yml down
3. Bring up the couchdb container defined in docker-compose.yml file. If container is not there, create it from the image. If the image is not there, download it from the Internet.
$ docker-compose -f docker-compose.yml up -d couchdb Creating network "net_basic" with the default driver Creating couchdb ... done
4. Verify the container and the image:
$ docker container list IMAGE STATUS NAMES hyperledger/fabric-couchdb Up About a minute couchdb $ docker images | grep fabric-couchdb IMAGE TAG SIZE hyperledger/fabric-couchdb latest 173MB
As you can see, the couchdb container has been manually deployed and started with the latest version of "hyperledger/fabric-couchdb" image. If the image is not available on the Docker, it will be automatically downloaded from the Docker image repository on the Internet.
⇒ Deploy cli Container Manually
⇐ Deploy peer0.org1.example.com Manually
2020-07-03, ∼1454🔥, 1💬
Popular Posts:
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encod...
How to use the "send-one-way-request" Policy statement to call an extra web service for an Azure API...
What is Azure API Management Developer Portal? Azure API Management Developer Portal is an Azure Web...
What properties and functions are supported on http.client.HTTPResponse objects? If you get an http....
Where to find tutorials on EPUB file format? I want to know how to create EPUB books. Here is a larg...