Tools, FAQ, Tutorials:
stop.sh - Stop basic-network
How to run stop.sh script to stop the Hyperledger Fabric example network, basic-network?
✍: FYIcenter.com
You can follow this tutorial to
run stop.sh script to stop the Hyperledger Fabric example network,
basic-network.
1. Run stop.sh script to stop the basic-network:
$ cd ~/hyperledger-binaries/fabric-samples/basic-network $ ./stop.sh # Shut down the Docker containers that might be currently running. docker-compose -f docker-compose.yml stop Stopping peer0.org1.example.com ... done Stopping orderer.example.com ... done Stopping couchdb ... done Stopping ca.example.com ... done
2. Check the status of all Docker containers of basic-network:
$ docker ps --all
IMAGE STATUS NAMES
hyperledger/fabric-peer Exited (0) peer0.org1.example.com
hyperledger/fabric-orderer Exited (0) orderer.example.com
hyperledger/fabric-couchdb Exited (143) couchdb
hyperledger/fabric-ca Exited (137) ca.example.com
3. Check container images:
$ 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, those 4 containers are stopped. But they are still left on the Docker engine.
Image files for those containers are also left on the Docker engine.
⇒ teardown.sh - Teardown basic-network
⇐ start.sh - Start basic-network
2020-04-25, ∼1286🔥, 0💬
Popular Posts:
How to use the JSON to XML Conversion Tool at freeformatter.com? If you want to try the JSON to XML ...
Where to find tutorials on RSS specifications? I want to learn it to describe my API services. Here ...
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the ...
How to create a navigation file like navigation.xhtml for an EPUB 3.0 book? At least one navigation ...
How to use the XML to JSON Conversion Tool at freeformatter.com? If you want to try the XML to JSON ...