fabric-tools 中的 ./teardownFabric.sh 是什么?为什么我们需要使用这个命令?

What is ./teardownFabric.sh in fabric-tools? and why we need to use this command?

我不明白为什么我们在使用./stopFabric.sh之前使用./teardownFabric.sh./startFabric.sh.

知道清楚的还请指点一下。

提前致谢。

我刚从这里得到这个:https://github.com/hyperledger/composer/blob/c7e94a64252e51625fe74c0e9a521a8d41281dd0/packages/composer-website/jekylldocs/installing/development-tools.md

Note that if you've run the teardown script, the next time you start the runtime, you'll need to create a new PeerAdmin card just like you did on first-time startup.

./teardownFabric.sh 将删除与 Fabric 相关的所有 docker 文件。这意味着您的系统将会清理,您可以从头开始启动 Fabric。

另外,你可以通过这段代码注释:https://github.com/hyperledger/composer-tools/blob/master/packages/fabric-dev-servers/fabric-scripts/hlfv1/teardownFabric.sh