12118/how-to-store-data-in-hyperledger-fabric-after-restart
I am using Hyperledger Fabric v0.6 with docker. When I stop and restart the fabric and restart it, the data that was in the fabric was gone.
The code I use to stop and start is as follows:
docker-compose down
docker-compose start
When you use docker-compose down, all the data and the docker list is removed. To retain your data even after stopping and restarting, try this code to stop the fabric:
docker-compose stop
and then to start, use:
docker-compose up
In a Dev environment, you can first ...READ MORE