Hyperledger Fabric ./byfn -m up not bringing up

0 votes
./byfn.sh -m generate

Creates two peers, channel, chaincode, orderer genesis block and cryptogen. But when I run the command:

./byfn.sh -m up

I get the error "line 159: docker compose: command not found. ERROR!!! Undable to start network."

And when I run:

./byfn.sh -m up -l node

When I run:

./byfn.sh -m down

I get a different error. This time the error is at lines 235 and 236; result of nano is as follows:

docker-compose -f $COMPOSE_FILE -f $COMPOSE_FILE_COUCH down --volumes

docker-compose -f $COMPOSE_FILE down –volumes
Nov 5, 2018 in Blockchain by slayer
• 29,170 points
274 views

1 answer to this question.

0 votes

Seems like you have not installed docker-compose. First, do this:

sudo apt-get update
sudo apt-get install docker-compose

Now run your commands, it should work

answered Nov 5, 2018 by Omkar
• 67,620 points

Related Questions In Blockchain

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
+1 vote
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,550 points
77 views
+1 vote
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
1 answer

Hyperledger: ./byfn.sh -m up gives error

Open .env file in fabric-samples/first-network/  ...READ MORE

answered Oct 26, 2018 in Blockchain by Omkar
• 67,620 points
183 views