Tools, FAQ, Tutorials:
"docker start/stop" - Start and Stop Docker Containers
How to run "docker start/stop" - Start and Stop Docker Containers for BYFN (Build Your First Network)?
✍: FYIcenter.com
If you have your BYFN Docker containers deployed to the Docker Engine,
you can use the "docker start/stop" command to manage them.
1. Look at the status of all deployed Docker containers:
$ docker ps -a IMAGE COMMAND STATUS NAMES hyperledger/fabric-tools:latest "/bin/bash" Up 10 minutes cli hyperledger/fabric-peer:latest "peer node start" Exited (1) peer0.org1.example.com hyperledger/fabric-peer:latest "peer node start" Exited (1) peer0.org2.example.com hyperledger/fabric-peer:latest "peer node start" Exited (1) peer1.org1.example.com hyperledger/fabric-peer:latest "peer node start" Exited (1) peer1.org2.example.com hyperledger/fabric-orderer:latest "orderer" Exited (1) orderer.example.com
2. Stop "cli" Docker container:
$ docker stop cli $ docker ps -a | grep cli hyperledger/fabric-tools:latest "/bin/bash" Exited (0) cli
3. Start "cli" Docker container again:
$ docker start cli cli $ docker ps -a | grep cli hyperledger/fabric-tools:latest "/bin/bash" Up 3 seconds cli
4. Start "orderer.example.com" Docker container again:
$ docker start orderer.example.com orderer.example.com $ docker ps -a | grep orderer hyperledger/fabric-orderer:latest "orderer" Exited (1) orderer.example.com
"orderer.example.com" Docker container started and stopped with an error code of 1. See next tutorial on how to fix the issue.
Â
⇒ "docker exec -it cli bash" - BYFN CLI Shell
⇠"docker-compose up" Command - Start the Network
⇑ Hyperledger Fabric Sample Networks
⇑⇑ Hyperledger Tutorials
2020-10-10, 887👍, 0💬
Popular Posts:
Where can I download the EPUB 2.0 sample book "The Metamorphosis" by Franz Kafka? You can following ...
How to use the JSON to XML Conversion Tool at utilities-online.info? If you want to try the JSON to ...
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the ...
Where to find tutorials on Python programming language? I want to learn Python. Here is a large coll...
Where to find tutorials on HTML language? I want to know how to learn HTML. Here is a large collecti...