Hyperledger byfn sh -m up gives error

0 votes

I am trying to bring up the network using the command

./byfn.sh -m up

But I get an error:

2018-03-28 08:47:19.896 UTC [main] main -> INFO 001 Exiting.....
LOCAL_VERSION=1.1.0
DOCKER_IMAGE_VERSION=1.1.0
orderer.example.com is up-to-date
Creating peer1.org2.example.com ...
Creating peer0.org2.example.com ...
Creating peer1.org1.example.com ... error
Creating peer0.org1.example.com ...
Creating peer1.org2.example.com ... error
ERROR: for peer1.org1.example.com  Cannot create container for service peer1.org                                                                                                                                  1.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  nis not a valid Windows path'

ERROR: for peer1.org2.example.com  Cannot create container for service peer1.org                                                                                                                                  2.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  Creating peer0.org1.example.com ... error

Creating peer0.org2.example.com ... error
1.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  nis not a valid Windows path'

ERROR: for peer0.org2.example.com  Cannot create container for service peer0.org                                                                                                                                  2.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  nis not a valid Windows path'

ERROR: for peer1.org1.example.com  Cannot create container for service peer1.org                                                                                                                                  1.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  nis not a valid Windows path'

ERROR: for peer1.org2.example.com  Cannot create container for service peer1.org                                                                                                                                  2.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  nis not a valid Windows path'

ERROR: for peer0.org1.example.com  Cannot create container for service peer0.org                                                                                                                                  1.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  nis not a valid Windows path'

ERROR: for peer0.org2.example.com  Cannot create container for service peer0.org                                                                                                                                  2.example.com: b'Mount denied:\nThe source path "\\\\var\\\\run:/host/var/run/"\                                                                                                                                  nis not a valid Windows path'
Encountered errors while bringing up the project.
ERROR !!!! Unable to start network

Any solutions for this?

Oct 26, 2018 in Blockchain by slayer
• 29,370 points
1,245 views

2 answers to this question.

0 votes

Open .env file in fabric-samples/first-network/ and add this COMPOSE_CONVERT_WINDOWS_PATHS=1

This should work.

answered Oct 26, 2018 by Omkar
• 69,220 points
0 votes

just follow those steps:

docker ps -aq          //clean up environment
docker rm -rf containerIds    //this will give you list of container ids.remove them one by one                                                                            

./byfn.sh -m down

./byfn.sh -m up
answered Oct 21, 2020 by anonymous

Related Questions In Blockchain

0 votes
1 answer

Getting error when i execute ./byfn.sh -m up command.

The error is caused because you're trying ...READ MORE

answered Jul 12, 2018 in Blockchain by slayer
• 29,370 points
1,069 views
0 votes
1 answer

Hyperledger fabric ./byfn.sh -m up command hangs during execution

Run the following command: sudo docker stop $(docker ...READ MORE

answered Jul 30, 2018 in Blockchain by slayer
• 29,370 points
708 views
0 votes
1 answer

Hyperledger Fabric ./byfn -m up not bringing up

Seems like you have not installed docker-compose. ...READ MORE

answered Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
1,462 views
+2 votes
1 answer
0 votes
3 answers
0 votes
1 answer
0 votes
1 answer

Hyperledger Fabric: ./byfn.sh -m up failed

Try adding GODEBUG=netdns=go to the environment variables ...READ MORE

answered Oct 26, 2018 in Blockchain by Omkar
• 69,220 points
951 views
0 votes
4 answers

Hyperledger: byfn.sh up: ERROR !!! FAILED to execute End-2-End Scenario.

Try these commands $ docker rm -f $(docker ...READ MORE

answered Nov 28, 2018 in Blockchain by kartik chauhan
6,578 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP