Tools, FAQ, Tutorials:
teardown.sh - Teardown basic-network
How to run teardown.sh script to Teardown the Hyperledger Fabric example network, basic-network?
✍: FYIcenter.com
You can follow this tutorial to
run teardown.sh script to Teardown the Hyperledger Fabric example network,
basic-network.
1. Run teardown.sh script to remove containers and their images related to the basic-network:
$ cd ~/hyperledger-binaries/fabric-samples/basic-network $ ./teardown.sh Removing peer0.org1.example.com ... done Removing orderer.example.com ... done Removing couchdb ... done Removing ca.example.com ... done Removing network net_basic "docker rm" requires at least 1 argument. See 'docker rm --help'. Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...] Remove one or more containers
Looks like we have a problem in the script.
2. Make sure Docker containers are removed:
$ docker ps -all
3. Make sure Docker images are removed:
$ docker images | grep fabric REPOSITORY TAG CREATED SIZE hyperledger/fabric-orderer 2.0.0 12 days ago 39.3MB hyperledger/fabric-peer 2.0.0 12 days ago 46.7MB hyperledger/fabric-couchdb latest 4 weeks ago 1.5GB hyperledger/fabric-ca latest 3 months ago 244MB
As you can see, the teardown.sh script did remove all containers. But it failed to remove images. See next tutorial on how to resolve this issue.
Â
⇒ "docker rmi" - Remove Docker Images
⇠stop.sh - Stop basic-network
⇑ fabric-samples/basic-network
⇑⇑ Hyperledger Tutorials
2020-04-25, 1041👍, 0💬
Popular Posts:
Why am I getting this "Docker failed to initialize" error? After installing the latest version of Do...
Where to find tutorials on API Management Services at Azure Portal? Here is a list of tutorials to a...
How to View Atom Feeds with IE (Internet Explorer)? If you want to view Atom Feeds with IE (Internet...
Where to find tutorials on EPUB file format? I want to know how to create EPUB books. Here is a larg...
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answ...