"byfn.sh down" - Shut Down BYFN Network

Q

How to run "byfn.sh down" to shut down the BYFN Network?

✍: FYIcenter.com

A

You can follow this tutorial to run "byfn.sh down" to shut down the BYFN Network.

The "./byfn.sh down" command automatically generates the configuration again, deploys/starts all containers to the Docker Engine, and runs a set of chaincode tests.

$ cd hyperledger-binaries/fabric-samples/first-network
 
$ ./byfn.sh up

Stopping for channel 'mychannel' with CLI timeout of '10' seconds and CLI 
delay of '3' seconds
Continue? [Y/n] y

proceeding ...
Stopping cli                    ... done
Stopping peer1.org1.example.com ... done
Stopping peer1.org2.example.com ... done
Stopping peer0.org1.example.com ... done
Stopping peer0.org2.example.com ... done
Stopping orderer.example.com    ... done

Removing cli                    ... done
Removing peer1.org1.example.com ... done
Removing peer1.org2.example.com ... done
Removing peer0.org1.example.com ... done
Removing peer0.org2.example.com ... done
Removing orderer.example.com    ... done
Removing network net_byfn

Removing volume net_orderer.example.com
Removing volume net_peer0.org1.example.com
Removing volume net_peer1.org1.example.com
Removing volume net_peer0.org2.example.com
Removing volume net_peer1.org2.example.com
Removing volume net_peer0.org3.example.com
WARNING: Volume net_peer0.org3.example.com not found.
Removing volume net_peer1.org3.example.com
WARNING: Volume net_peer1.org3.example.com not found.

588777823fe7
5a71beaf2f75
4b29f1257544
Untagged: dev-peer1.org2.example.com-mycc-1.0-ccc36c83d83c630b1833a06b4d8ed7...
Deleted: sha256:a18198e5efab2f12ade07d2c78d1cd...
Deleted: sha256:89fe72ff326852349e645ac425a146...
Deleted: sha256:882ec1cae487865660516cf8a5995e...
Deleted: sha256:082f3b2088e52b6ce1133f1659c649...

Untagged: dev-peer0.org1.example.com-mycc-1.0-77826197938f584237e6ccdc7c2217...
Deleted: sha256:8868892d07285481849af41f60f7a7...
Deleted: sha256:e7d133120bea362b731a301ceb0a3d...
Deleted: sha256:b8e8feb2ddcb043a5fc72b4efb05aa...
Deleted: sha256:a00ad1a741039dbc48e2ad92aa057f...

Untagged: dev-peer0.org2.example.com-mycc-1.0-6109edb6f2a7f088a603d60d92ae73...
Deleted: sha256:12e51daaad224a63f3825b884b2635...
Deleted: sha256:83ad4cce2a6152660a1c68b30073c6...
Deleted: sha256:9b24c72c00b7783e8fa3fc7c22e5da...
Deleted: sha256:c49ca38a6026cd19e963d77caa2ffb...

Looks like everythis is removed from the Docker Engine.

 

"byfn.sh up" Error - Container Name in Use

"byfn.sh up" - Start Up BYFN Network

BYFN (Build Your First Network)

⇑⇑ Hyperledger Tutorials

2020-05-05, 1500🔥, 0💬