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
• 26,600 points
594 views

1 answer to this question.

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,240 points

Related Questions In Blockchain

0 votes
1 answer
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
• 26,600 points
97 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,240 points
349 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,240 points
384 views