簡體   English   中英

hyperledger-fabric byfn.sh -m失敗,未找到script / scripts.sh

[英]hyperledger-fabric byfn.sh -m failed with script/scripts.sh not found

我正在Windows 10的Docker容器中運行byfn.sh腳本。

Docker版本18.03.0-CE,內部版本0520E24302

我收到了script.sh找不到錯誤消息,請幫忙。

$ ./byfn.sh -m向上

Starting with channel 'mychannel' and CLI timeout of '10' seconds and CLI 
delay of '3' seconds
Continue? [Y/n] y
proceeding ...
2018-04-28 20:28:24.254 UTC [main] main -> INFO 001 Exiting.....
LOCAL_VERSION=1.1.0
DOCKER_IMAGE_VERSION=1.1.0
Starting peer1.org2.example.com ... done
Starting peer0.org2.example.com ... done
Starting peer1.org1.example.com ... done
Starting peer0.org1.example.com ... done
Starting orderer.example.com    ... done
cli is up-to-date
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"scripts/script.sh\": stat scripts/script.sh: no such file or directory": unknown
ERROR !!!! Test failed

通過將整個fabric-samples目錄復制到c:\\ users \\目錄來解決此問題。

在c:\\驅動器上其他任何位置都具有fabric-samples目錄,則會出現此錯誤。 如果將結構樣本放置在c:\\ users \\以外的任何位置,則可能需要在某處定義顯式路徑

我發現Windows下的docker容器中的卷未正確安裝(根本沒有安裝)。 但是我不知道如何解決它。如果我有更多關於此問題的信息,甚至解決方案,我都會回來的。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM