Tools, FAQ, Tutorials:
Manage basic-network with cli Container
How to Manage basic-network with cli Container?
✍: FYIcenter.com
You can follow this tutorial to
Manage basic-network with cli Container.
1. Start all containers, including cli, defined in the docker-compose.yml file:
$ cd ~/hyperledger-binaries/fabric-samples/basic-network $ docker-compose -f docker-compose.yml up -d
2. Connect to cli container:
$ docker exec -it cli bash root@308636bc6e27:/opt/gopath/src/github.com/hyperledger/fabric/peer# cd root@308636bc6e27:~#
3. Verify the basic-network through peer0.org1.example.com
root@308636bc6e27:~# echo $CORE_PEER_ADDRESS peer0.org1.example.com:7051 root@308636bc6e27:~# peer node status status:STARTED root@308636bc6e27:~# peer channel list Channels peers has joined: root@308636bc6e27:~# peer chaincode list --installed Get installed chaincodes on peer:
As you can see, peer0.org1.example.com is running. But it does nothing, no channels, no chaincodes. See other tutorials on how join channels and run chaincodes.
Â
⇒ WYFA (Writing Your First Application)
⇠Deploy cli Container Manually
⇑ fabric-samples/basic-network
⇑⇑ Hyperledger Tutorials
2020-03-15, 970👍, 0💬
Popular Posts:
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answ...
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to...
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed des...
How to use "xsl-transform" Azure API Policy Statement? The "xsl-transform" Policy Statement allows y...