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,170 points
185 views

1 answer 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
• 67,620 points

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,170 points
179 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 29, 2018 in Blockchain by slayer
• 29,170 points
80 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
• 67,620 points
275 views
0 votes
1 answer
0 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
• 67,620 points
112 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
1,648 views