在Windows 7 Docker Quickstart Terminal中运行curl命令的问题 [英] Issue to run curl command in windows 7 Docker Quickstart Terminal
问题描述
我正在按照 这里 .作为此过程的一部分,我将针对
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
但是我的问题是,在 Docker Quickstart Terminal
But my problem here is, while running the following command in Docker Quickstart Terminal
curl -sSL https://goo.gl/iX9dek ¦ bash
curl -sSL https://goo.gl/iX9dek ¦ bash
我遇到错误
bash:第1行:意外令牌'newline'附近的语法错误
bash:第1行:
bash: line 1: syntax error near unexpected token `newline'
bash: line 1: <HTML>
我在类似的步骤中也发现了一条笔记
I also found a note in the steps like
如果在运行上述curl命令时遇到错误,则说明您的curl版本太旧.请访问先决条件"页面,以获取有关在何处找到最新版本的其他信息.
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.
我在Windows环境中设置了curl的最新版本,但是在 Docker Quickstart Terminal 中,它使用的是一些较旧的版本.
我尝试使用yum update curl.x86_64
在虚拟机终端中对其进行更新,但未找到 yum , update 等.
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 yum, update etc. are not found.
在这种情况下如何更新卷发?如果curl版本不是问题,那么我在哪里做错了?
请提出建议.
谢谢.
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.
推荐答案
最后发现了问题.:)
问题出在网址 https://goo.gl/iX9dek 上,此处的文档已移至 此处(未在
The problem was with the url https://goo.gl/iX9dek, the document here is moved to here which is not updated in the stepout that I am following.
它正在使用以下命令
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap-1.0.0.sh |重击
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap-1.0.0.sh | bash
这篇关于在Windows 7 Docker Quickstart Terminal中运行curl命令的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!