Issue to run curl command in windows 7 Docker Quickstart Terminal

0 votes

I am trying out the steps for setting up a sample hyperledger fabric1.0 network as per the steps mentioned here on windows 7. As part of this I am following these steps for Hyperledger Fabric Samples. 

Since my OS is Windows7 64bit, I am using Docker Toolbox

But my problem here is, while running the following command in Docker Quickstart Terminal

curl -sSL ¦ bash

I am getting the error

bash: line 1: syntax error near unexpected token `newline' 
bash: line 1: <HTML>

I also found a note in the steps like

If you get an error running the above curl command, you may have too old a version of curl. Please visit the Prerequisites page for additional information on where to find the latest version.

I have the latest version of curl set in the windows environment, but in Docker Quickstart Terminal it is using some older version. 
I tried to update it in virtual machine terminal using yum update curl.x86_64 but yumupdate etc. are not found.

How can I update the curl in this case? And if the curl version is not the problem, where I am doing wrong here? 

Please suggest.. 

Thanks in advance.

Jun 27, 2018 in Blockchain by charlie_brown
• 7,720 points

1 answer to this question.

0 votes
Actually, the issue is more likely that the version of curl on your machine doesn't support redirects. In the note below the instructions for the curl command is a note that suggests that if you have errors, update your version of curl.

Note that replacing the URL with the raw GH URL is also a correct solution, but you probably want to update curl regardless.
answered Jun 27, 2018 by aryya
• 7,450 points

Related Questions In Blockchain

0 votes
1 answer

Error while running curl command in Docker Quickstart Terminal

You can get the new version of ...READ MORE

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

How to fix "failed to execute script docker compose" error on windows 7?

It seems like the container is not ...READ MORE

answered Jun 27, 2018 in Blockchain by Omkar
• 69,230 points
0 votes
1 answer

Windows not able to recognize Monax command

You probably know this already but support ...READ MORE

answered Jun 22, 2018 in Blockchain by Johnathon
• 9,090 points
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

answered Jul 16, 2018 in Blockchain by slayer
• 29,360 points
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
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,740 points
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

How to prevent the smart contract from being modified and deployed in the blockchain network?

To expand on Matthew's answer, each state ...READ MORE

answered Jul 6, 2018 in Blockchain by aryya
• 7,450 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP