How to retain the container state after shutdown/restart of Hyperledger Fabric network?

0 votes

I am trying to create a simple Hyperledger Fabric network. I have created in successfully. Now when i use the command ./stopFabric.sh to stop the network and then start it, the container state is lost. I want to know how can i restart/shutdown the network and the network should still retain the container state. How can i do it?

Jul 17, 2018 in Blockchain by digger
• 27,620 points
271 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
In a Dev environment, you can first run docker stop <container id> to stop the particular container. Then what you have to do is restart the Orderer, CA, peers and CouchDB containers. After this you can start the container using the docker start <container id>. I tried this and the container state was retained.
answered Jul 17, 2018 by slayer
• 29,040 points

Related Questions In Blockchain

0 votes
1 answer
+1 vote
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

answered May 8, 2018 in Blockchain by Rachel
1,258 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,620 points
38 views
+1 vote
1 answer
0 votes
1 answer

How to retrieve complete world state of hyperledger?

you can achieve this by iteration process ...READ MORE

answered Jul 5, 2018 in Blockchain by slayer
• 29,040 points
141 views
0 votes
1 answer

How to set up Hyperledger Fabric v0.6 network without docker?

Hyperledger Fabric v0.6 does not provide any ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,040 points
240 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.