gpt4 book ai didi

docker - "exec:\"scripts/script.sh\": stat scripts/script. sh: 没有那个文件或目录

转载 作者:IT王子 更新时间:2023-10-29 01:14:32 26 4
gpt4 key购买 nike

我在尝试启动第一个 super 账本网络时遇到此错误:

$ ./byfn.sh -m up
Starting with channel 'mychannel' and CLI timeout of '10' seconds and CLI delay of '3' seconds
Continue? [Y/n] y
proceeding ...
2018-05-13 07:33:04.240 UTC [main] main -> INFO 001 Exiting.....
LOCAL_VERSION=1.1.0
DOCKER_IMAGE_VERSION=1.1.0
Starting peer1.org1.example.com ... done
Starting peer1.org2.example.com ... done
Starting peer0.org1.example.com ... done
Starting peer0.org2.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:\User\XXXXX 下。这也是 $HOME 的相同路径。我可以看到文件 script.sh 位于 fabric-samples/first-network/scripts 下。

是否需要进行任何其他设置来帮助执行此操作?

去版本:

go version go1.10.2 windows/amd64

最佳答案

我刚遇到上面的错误,通过命令挂载驱动做了如下处理:

sudo mkdir /c
sudo mount --bind /mnt/c /c

cd /c/<your path>/fabric-samples/first-network
./byfn.sh generate
./byfn.sh up

祝你好运!

关于docker - "exec:\"scripts/script.sh\": stat scripts/script. sh: 没有那个文件或目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50313911/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com