roxhens
roxhens

Reputation: 552

Cannot start first-network on hyperledger fabric

I am trying to set up the first-network in HL Fabric v1.4.8 samples and I get the following error. I also tried the v1.4.9 binaries and Docker images but is the same issue again.

Error from terminal

Upvotes: 0

Views: 73

Answers (1)

Moolshanker Kothari
Moolshanker Kothari

Reputation: 551

Try ./byfn.sh down, most probably it will resolve the issue but sometime you need to stop and remove docker containers manually and clear everything, Note this solution is on for development and testing environment, please don't use on production as it will remove the containers.

Use following commands.

docker ps -qa | xargs docker stop

docker rm $(docker ps -aq)

docker rmi $(docker images dev-* -q)

docker network prune 

docker volume prune

Then try starting your network, these steps works well for me, hopefully it will resolve your issue.

Upvotes: 1

Related Questions