./bash.sh down
a@ubuntu:~/hyfa/fabric-samples/first-network$ sudo ./byfn.sh down
[sudo] password for a:
Stopping with channel ‘mychannel’ and CLI timeout of ’10’ seconds and CLI delay of ‘3’ seconds
Continue? [Y/n] y
proceeding …
停止客户端
Stopping cli … done
停止节点,peer和orderer
Stopping peer0.org1.example.com … done
Stopping peer1.org1.example.com … done
Stopping orderer.example.com … done
Stopping peer1.org2.example.com … done
Stopping peer0.org2.example.com … done
删除客户端
Removing cli … done
删除peer和orderer
Removing peer0.org1.example.com … done
Removing peer1.org1.example.com … done
Removing orderer.example.com … done
Removing peer1.org2.example.com … done
Removing peer0.org2.example.com … done
删除网络
Removing network net_byfn
删除节点容器
Removing volume net_peer0.org2.example.com
Removing volume net_peer1.org2.example.com
Removing volume net_peer1.org1.example.com
Removing volume net_peer0.org1.example.com
Removing volume net_orderer.example.com
检查网络
Removing network net_byfn
WARNING: Network net_byfn not found.
检查容器
Removing volume net_peer0.org2.example.com
WARNING: Volume net_peer0.org2.example.com not found.
Removing volume net_peer1.org2.example.com
WARNING: Volume net_peer1.org2.example.com not found.
Removing volume net_peer1.org1.example.com
WARNING: Volume net_peer1.org1.example.com not found.
Removing volume net_peer0.org1.example.com
WARNING: Volume net_peer0.org1.example.com not found.
Removing volume net_orderer.example.com
WARNING: Volume net_orderer.example.com not found.
删除
39921ee5602e
0a7dff1e42a2
112997bf1fce
删除
Untagged: dev-peer1.org2.example.com-mycc-1.0-26c2ef32838554aac4f7ad6f100aca865e87959c9a126e86d764c8d01f8346ab:latest
删除
Deleted: sha256:47c3169bb649e06afb6a614ececd85e759956b27f8f1022b5ddc51341a30e269
Deleted: sha256:4bb091bb1f04029cf7045eeae8d3421a9f6502e0accb28a108edc7f0a52fd099
Deleted: sha256:6f07e876ea369fbacefd4626ca6a8675b97ebfdf30ef888206cd9a76400a5136
Deleted: sha256:f33e9f64804848a77dca50199e62e02fdd9d01764a3676cffc4564274ff04988
Untagged: dev-peer0.org1.example.com-mycc-1.0-384f11f484b9302df90b453200cfb25174305fce8f53f4e94d45ee3b6cab0ce9:latest
Deleted: sha256:e553c1ec339d6a7b4c733bb1cea279fecaf5c301cd2dc191ec2a8164be505b6d
Deleted: sha256:8d37ee6b63a4964352a2d89e8ff6d18af15e645274aa7346c1d9f7e73b2d18ae
Deleted: sha256:f4fbff1e10cd41abd24d9641c6ac7644dcfc2e6fd81da17b039952bb8fcd3184
Deleted: sha256:183f96baaa61f090ce8be223b9964f62ff072fdb8f0bb159ef921004f23acdf3
Untagged: dev-peer0.org2.example.com-mycc-1.0-15b571b3ce849066b7ec74497da3b27e54e0df1345daff3951b94245ce09c42b:latest
Deleted: sha256:b350448d6300171a64eeb9bbe2216fa7feb5f9121427399f6a4df5cc94c5f22d
Deleted: sha256:7bfea9d0339e5bccb48471b6684619e8aa590fb868531016bd7afb0a5c722d6e
Deleted: sha256:2764c5b3474a0b792f8742068da646fdadc288eee79a2ad7a4b123934b5a60af
Deleted: sha256:4099bd99fb2741bdbdc0c3521d47a939fc995148180aa3705945ed6b2eae886c
自动化脚本会=将cryptogen生成的.yaml文件一起删掉
所以,如果需要保留文件的话需要手动删除