Start CLI Container for MagnetoCorp Admin


How to Start CLI Container for the MagnetoCorp Administrator?



If you are the administrator from MagnetoCorp and want to manage the PaperNet Hyperledger Fabric network, you can follow this tutorial.

1. Create a new terminal window and run the docker-compose command to start the CLI container:

(magnetocorp admin)$ cd ~/hyperledger-binaries/fabric-samples
(magnetocorp admin)$ cd commercial-paper/organization/magnetocorp/configuration/cli/
(magnetocorp admin)$ docker-compose -f docker-compose.yml up -d cliMagnetoCorp
Creating cliMagnetoCorp ... done

2. Check running containers:

(magnetocorp admin)$ docker ps

CONTAINER ID  IMAGE                       STATUS         NAMES
562a88b25149  hyperledger/fabric-tools    Up 1 minute    cliMagnetoCorp
b7f3586e5d02  gliderlabs/logspout         Up 7 minutes   logspout
ada3d078989b  hyperledger/fabric-peer     Up 29 minutes
1fa1fd107bfb  hyperledger/fabric-orderer  Up 29 minutes
53fe614274f7  hyperledger/fabric-couchdb  Up 29 minutes  couchdb
469201085a20  hyperledger/fabric-ca       Up 29 minutes

2 more containers are running: logspout is for the log console, cliMagnetoCorp is for the CLI tool.


papercontract.js - PaperNet Chaincode (Smart Contract)

Create PaperNet Log Console

commercial-paper Sample Network

⇑⇑ Hyperledger Tutorials

2019-12-19, 1091🔥, 0💬