After creating a sales-network application in Hyperledger Fabric, a user wants to enable the network for it and display its containers.Which of the following commands can he use for that?cd sales-network/<br /> ./network.sp start -ca -s couchdbcd up sales-network/<br /> ./network.sp start -s -couchdb -cacd sales-network/<br /> ./network.sp up -ca -s couchdbcd sales-network/<br /> ./network.sp up couchdb -ca -s
Question
After creating a sales-network application in Hyperledger Fabric, a user wants to enable the network for it and display its containers.Which of the following commands can he use for that?cd sales-network/<br /> ./network.sp start -ca -s couchdbcd up sales-network/<br /> ./network.sp start -s -couchdb -cacd sales-network/<br /> ./network.sp up -ca -s couchdbcd sales-network/<br /> ./network.sp up couchdb -ca -s
Solution
The correct command to enable the network and display its containers in Hyperledger Fabric is:
cd sales-network/ ./network.sp start -ca -s couchdb
This command will start the network with Certificate Authority and CouchDB as the state database.
Similar Questions
Which of the following commands can be used for installing the Fabric network in Hyperledger?npm install -n fabricnpm install network.fabricnpm install Network --fabricnpm install fabric-network
A user wants to execute rich queries for a fabric network. He needs to integrate CouchDB with Fabric's network. He needs to create a container for CouchDB and map this container to services.After defining the service for this container, which of the following options does he need to define to map this container?depends_on:<br /> - couchdb0system:<br /> - couchdb1environment:<br /> -COUCHDB-USER=username<br /> -COUCHDB_PASSWORK=password<br /> -system=couchdb1environment:<br /> -COUCHDB-USER=username<br /> -COUCHDB_PASSWORK=password<br /> -depends_on=couchdb0
While using Hyperledger Fabric, a user wants to launch a network using Docker commands. He has set the bin folder to the config path. Now he needs to create the certificate for peer organisation Org1.Which of the following commands can he use for that?cryptogen create<br /> --config=./organizations/crypto-config-org1.yaml<br /> --output= “organizations”cryptogen create<br /> --config=./cryptogen/organizations/crypto-config-org1.yaml<br /> --output= “organizations”cryptogen generate<br /> --config=./organizations/cryptogen/crypto-config-org1.yaml<br /> --output= “organizations”cryptogen generate<br /> --config=./organizations/crypto-config-org1.yaml<br /> --output= ‘organizations’
While using Docker with Hyperledger Fabric, a user wants to check all the containers.Which of the following commands can he use?docker c -adocker check -adocker p -alldocker ps -a
A user set up the network and created the channel for an Hyperledger application named "Sales_Fabric". Then he writes the required chaincode. After writing the chaincode, he needs to deploy it.Which of the following commands can he use for it?Consider that the chaincode name is sac, he is using GoLang, and the init function is InitSales../network.sh deployCC -ccname sac -ccp ../chaincode -ccl go -cci InitSales./network.sh deployCC -ccname sac -ccp --chaincode -language go -cci InitSales./network.sh deploy CC sac -ccl go -ccp ../chaincode -cci InitSales./network.sh deployCC -ccn sac -ccl go -ccp ../chaincode -cci InitSales
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.